| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
catagories help | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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:
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 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() 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
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|