Jump to content

PAGINA ALBA CAND DESCHID SITE


biostar

Recommended Posts

Am o problema destul de grava dupa parerea mea dupa ce am incercat sa schimb ordinea dupa cum scria pe topic aici undeva ~ O idee:

 

Te duci la modules\blockcategories si deschizi fisierul blockcategories.php.

Pe sursa apare:

 

SELECT * FROM '._DB_PREFIX_.'category c

LEFT JOIN '._DB_PREFIX_.'category_lang cl ON (c.id_category = cl.id_category AND id_lang = '.intval($params['cookie']->id_lang).')

WHERE level_depth <= '.intval(Configuration::get('BLOCK_CATEG_MAX_DEPTH')).'

AND c.active = 1

ORDER BY level_depth, cl.name ASC');

 

Scoti ordonarea alfabetica adica in loc de ORDER BY level_depth, cl.name ASC lasi ORDER BY c.id_category,level_depth. ~

 

Dupa ce am incercat aceasta chestie nu mi-au mai aparut deloc categoriile dupa care incercand sa modific cum era inainte cand am vrut sa vad daca apare in site pagina era alba nu mai aparea site-ul

 

Ce pot sa fac?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...