![]() |
catagories help
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:
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 "")} 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 |
Re: catagories help
Within the backend of x-Cart, goto General Settings and ensure the option "If ticked, the categories list always shows root categories" is checked.
Regards Shafiq :sK |
Re: catagories help
Turns out it works after all!! Silly me overlooked the "If ticked, the categories list always shows root categories"
(I thought that it would show the subcategories) thanks chamberinternet :) -hroth |
All times are GMT -8. The time now is 11:14 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.