Geremi Posted July 18, 2010 Share Posted July 18, 2010 Hi there. I'd like to know how to disable Categories menu in main page? Lets say there are some products on the main page, and when I click on one of them and open the description page, on the left side of the screen Categories menu comes up. But if I'm in main page (index.php), there is no Categories menu on the left. I'm pretty useless in PHP, but I guess there must be added some exceptions in categories.php or column_left.php. Thanks for help ;) */ this is column_left.php */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } Link to comment Share on other sites More sharing options...
germ Posted July 18, 2010 Share Posted July 18, 2010 if ( isset($cPath) && ($cPath!='') ) { if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } } If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Geremi Posted July 19, 2010 Author Share Posted July 19, 2010 Thank you very much, germ! It works just fine! Thanks one more time ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.