Hello All
I've just installed this on a test site (using the excellent Cherry-Zen template) and it all works a dream.
If possible, instead of having 'Categories' as a top level link, I'd like to have the second level of categories displayed instead (By Price, By Brand, By Type, By Activity).
Categories
* By Price (these all have sub-categories)
* By Brand
* By Type
* By Activity
I've found the relevant code in tpl_drop_menu.php (as below) but have no idea how to amend it, or even if it is possible to do.
Any suggestions would be most appreciated.
<?php
// load the UL-generator class and produce the menu list dynamically from there
require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
$zen_CategoriesUL = new zen_categories_ul_generator;
$menulist = $zen_CategoriesUL->buildTree(true);
$menulist = str_replace('"level4"','"level5"',$menulist);
$menulist = str_replace('"level3"','"level4"',$menulist);
$menulist = str_replace('"level2"','"level3"',$menulist);
$menulist = str_replace('"level1"','"level2"',$menulist);
$menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
$menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
echo $menulist;
?>
Many thanks
Bookmarks