Hi all,
I'm trying to have the categories run from a different set of css styles. So I duplicated all the VertMenu styles and changed them to VertMenu2. I created a new menu.tpl (menu2.tpl) and linked to it in the categories.tpl.
PHP Code:
{ include file="menu2.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
It worked so far as that on the home page it has it's own styles.
PROBLEM: when I click on one of the category links it brings me to the correct page, but the categories menu is gone all together.
Looking at the problem page: home.tpl
Code:
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{include file="customer/categories.tpl" }
I think because I modified the .categories.tpl page something is not passing here.
I commented out all the if's and I can see the catagories box, but the links are gone.. hmm ?
---- bit later - still no luck & no reply -----
Im thinking this was not the best aproach.
Perhaps if I have an "if" in the main.tpl - I could have two sets of what is in the main.tpl, one normal and one with the modified style names.
not sure how to do that..
-hroth