Welcome! Log In Create A New Profile


No Sub Category on main Page

Posted by TheGenesys 
No Sub Category on main Page
May 25, 2008 03:28AM
to remove the "3" subcategory listings to the main list of all top level categories: (always backup a page before you alter)

under templates\yourtemplate\categories.html

find and remove:

<a href="?catid=<?php print $__val['category_id']?>" class="main_cat2"><?php print $__val['category']?></a>

Save and upload.

You will still have the sub listings under the selected main category i.e. Categories > Food & Dining > . However, you will eliminate the clutter look of having the 3 subs listed on your index/search.php page.

Edited 1 time(s). Last edit at 05/25/2008 04:05AM by TheGenesys.
Sorry, only registered users may post in this forum.

Click here to login