| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Horizontal Categories menu | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How to create the horizontal categories menu?
I know how to style it with dropdown but what code it needs to display categories/subcategories dynamically? Something like this: PHP Code:
Can I copy code from existing template somewhere in xcart? Is there a topic somewhere on the forums that I missed? I searched but could not find anything for Gold 4.4.2 Thanks.
__________________
x-cart 4.4.2 Gold |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Im trying out moving my flyout categories, that are displayed vertically in the left bar so that they are displayed horrizontally just under the speed bar. I have sorted the css so that the menu sits in the right place, so that the main part of the screen is full width, but am not sure how to get the categories to display horrizontally not vertically.
it sounds like your trying to do a similar thing. I guess I should be changing something in skin1/customer/categories.tpl
__________________
Paul Wallace X-Cart Gold 4.3.2 Php5.3.8 MySQL 5.1.56 Backorder/PreOrder SEO All in one CDSEO Wholesale Option Pricing Gift Cert Recovery Password Recovery CompanyLogo Alt Tag Smart Search - ALtered Cart On Sale - Altered Cart Sitemap MM One page checkout order page emailer Remember Anomymous Carts Website CM Speed Opitmisation iartsupplies.co.uk |
|||||||||
#3
|
|||||||
|
|||||||
![]() Yeah, I was trying to avoid using flyout menu as I already have the dropdown styles just with css, no JQuery but need the code to display root categories as main links and on hover to display that category subcategories in a list.
In your case you could create new tpl file (e.g. topmenu.tpl) copy flyout code to it and call it in your home or header file (depending where you want it to show). Of course you'll have to remove {if flyout enabled...} code so you can keep module disabled for sidebar menu. You might need to clone categories.tpl too for use on your new topmenu, not sure without looking at the files. Something along those lines.
__________________
x-cart 4.4.2 Gold |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Just use the fancy_subcategories.tpl to build the links and make it use your styles instead of the default XC
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() yes, that goes just a bit beond my capabilites i think!
__________________
Paul Wallace X-Cart Gold 4.3.2 Php5.3.8 MySQL 5.1.56 Backorder/PreOrder SEO All in one CDSEO Wholesale Option Pricing Gift Cert Recovery Password Recovery CompanyLogo Alt Tag Smart Search - ALtered Cart On Sale - Altered Cart Sitemap MM One page checkout order page emailer Remember Anomymous Carts Website CM Speed Opitmisation iartsupplies.co.uk |
|||||||||
|
|||
X-Cart forums © 2001-2020
|