| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Categories Menu - Showing Subcategories | ||||
|
|
Thread Tools | Search this Thread |
#101
|
|||||||
|
|||||||
Re: Categories Menu - Showing Subcategories
Im using version 4.0.19...I have copied and pasted the different variations of complete code that are in this thread...the best I get is a menu with line seperators, but you cant click on any of the menu items!?! (ie they are not links)
I am pasting the code into customer/categories.tpl...is there anything else I should be doing? Simply want a menu that looks like this Cat A (link) Sub Cat 1 (link) Sub Cat 2 (link) Cat B (link) Sub Cat 1 (link) Sub Cat 2 (link) etc.... what am I doing wrong?
__________________
ming@rumplequiltskin.com.au www.rumplequiltskin.com.au NSW, Australia X-Cart Version 4.0.19 |
|||||||
#102
|
|||||||
|
|||||||
Re: Categories Menu - Showing Subcategories
I have got the menu posted by Chris2002 to work.. (added code to categories.php and categories.tpl)
Is there a way to modify it so that it only shows the sub categories when you click on the root category? at the moment it is showing everything in the tree..
__________________
ming@rumplequiltskin.com.au www.rumplequiltskin.com.au NSW, Australia X-Cart Version 4.0.19 |
|||||||
#103
|
|||||||||
|
|||||||||
Re: Categories Menu - Showing Subcategories
Hello,
sorry for the delay, See this post for your adaptation http://forum.x-cart.com/showthread.php?p=162134#post162134 thank you
__________________
Chris ---------------------------------------- X-Cart Gold 4.1.xx / 4.2.xx Need some Help in french Webdesign or else. ---------------------------------------- |
|||||||||
#104
|
|||||||
|
|||||||
Re: Categories Menu - Showing Subcategories
Oh man! Sooooooooo close! The menu functions how I would like, but the problem is, it has repeated my company logo...somehow it is calling the head.tpl in the loop i assume, or the code is not compatible with 4.0.19
__________________
ming@rumplequiltskin.com.au www.rumplequiltskin.com.au NSW, Australia X-Cart Version 4.0.19 |
|||||||
#105
|
|||||||||
|
|||||||||
Re: Categories Menu - Showing Subcategories
Hello,
Plz could you post your code online, then we can see the problem to reply. thank you
__________________
Chris ---------------------------------------- X-Cart Gold 4.1.xx / 4.2.xx Need some Help in french Webdesign or else. ---------------------------------------- |
|||||||||
#106
|
|||||||||
|
|||||||||
Re: Categories Menu - Showing Subcategories
Or upgrade to 4.1.6.......loool...kidding
__________________
Chris ---------------------------------------- X-Cart Gold 4.1.xx / 4.2.xx Need some Help in french Webdesign or else. ---------------------------------------- |
|||||||||
#107
|
|||||||
|
|||||||
Re: Categories Menu - Showing Subcategories
Well I am just over the moon. Gave it one last shot and I now have it working!
So for those of you that have 4.0.19 and want a menu like this: CatA (link) SubCat1 (link) SubCat2 (link) CatB (link) CatC (link) - The CURRENT category AND subcategory will be in bold - The categories will still be in the default menu.tpl. (the code is based on awasson's menu mod..his div layer caused my head.tpl to repeat) - Looks fine in Firefox and Internet Explorer Here's my categories.tpl: Code:
then I added these classes to skin1.css: Code:
I am really new to editing code so sorry if it's messy... would appreciate any constructive criticism.
__________________
ming@rumplequiltskin.com.au www.rumplequiltskin.com.au NSW, Australia X-Cart Version 4.0.19 |
|||||||
#108
|
|||||||
|
|||||||
Re: Categories Menu - Showing Subcategories
Anyone know how I can add more levels of sub categories to this?
__________________
ming@rumplequiltskin.com.au www.rumplequiltskin.com.au NSW, Australia X-Cart Version 4.0.19 |
|||||||
#109
|
|||||||
|
|||||||
Re: Categories Menu - Showing Subcategories
Anyone have this working in 4.1.7? I can't get it to work no matter what I do
__________________
Christmas x-cart 4.1.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|