| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
When Root Cat clicked display sub cat? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Solved by Victor D in post #5 (Works in 4.1.11 confirmed)
How would I get my categories to display sub categories when they've been clicked. For example ____________________________ All Products Shop By Brand (clicked) ------------------------ Kick Butt Catsup Lizards and Gutts Shop By Price Shop By Category ____________________________ |
|||||||
#2
|
|||||||||
|
|||||||||
![]()
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() You mean in the side menu? Try one of these:
http://www.xcartmods.co.uk/navigation-x-cart-mods-c-3.html
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
Yes that's what I want but does it work for 4.1.11? I saw the last post in that thread and someone said they can't get it to work for 4.1.7 I'll test it out but I have to figure out where to place the code. They don't seem to specify where to place the smarty code. |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
HTML Code:
and add lines PHP Code:
PHP Code:
I have tested this on 4.1.11 and found no problem
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#6
|
|||||||
|
|||||||
![]() Excellent! Thank you very much!
|
|||||||
#7
|
|||||||
|
|||||||
![]() Thanks for the script... but now I want to have current Category/subcategory to be highlighted or active.
Please advice. Thanks
__________________
Webstroika.com - Web / Print / Multimedia Lambo Doors - Direct Bolt-on Vertical Doors and Universal Vertical Door Conversion Kits - X-cart Gold 4.2.1 |
|||||||
#8
|
|||||||
|
|||||||
![]() Quote:
It's a style sheet thing, it's simple. It'll highlight the current page you're on with whatever text decoration you want for example a:active { text-decoration: underline; font-weight: bold; } Will look like this when active Category 1 Category 2 -Sub -sub2 Category 3 |
|||||||
#9
|
|||||||
|
|||||||
![]() Hey Pepperlady,
Thanks for the reply, but it doesn't work. It does work for Active state on the links, but it doesn't highlight the current category. What I need is to show current category in different color. Cat 1 Cat 2 - Sub Cat 1 - Sub Cat 2 - Sub Cat 3 (Current) - Sub Cat 4 Cat3 Thanks, Nikolay
__________________
Webstroika.com - Web / Print / Multimedia Lambo Doors - Direct Bolt-on Vertical Doors and Universal Vertical Door Conversion Kits - X-cart Gold 4.2.1 |
|||||||
#10
|
|||||||
|
|||||||
![]() So you mean it needs to look literally like this
cat1 cat2 -sub1 -sub2 -sub3 cat3 and red meaning it's the active sub link? or do you want it highlighted as in a box appears around it when active? Should still work with a: active You'll have to find out the exact css class for the sub cat if it doesn't work. Then apply my method to it. |
|||||||
|
|||
X-Cart forums © 2001-2020
|