Guest Posted February 12, 2005 Share Posted February 12, 2005 Hi, I'd like to hide the categories infobox on only the index page. I have the frontpage categories contribution installed, so it displays the categories in the center of the homepage (index.php), and so i have no use for the traditional categories infobox on the main page. What is the code that should go in includes/column_left.php to hide the regular categories infobox on only the index page? Thanks in advance for anyone who can help me. -George [email protected] Link to comment Share on other sites More sharing options...
Nacer Posted February 12, 2005 Share Posted February 12, 2005 In your includes/column_left.php find the following: include(DIR_WS_BOXES . 'categories.php'); replace with: //include(DIR_WS_BOXES . 'categories.php'); Enjoy Nacer. Link to comment Share on other sites More sharing options...
burt Posted February 12, 2005 Share Posted February 12, 2005 if ((basename($PHP_SELF) != FILENAME_DEFAULT)||($category_depth != "top")) { 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...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.