any luck anyone?
|
anyone with the subcat fix?
sorry for the repost! |
this work with 4.0.14???
|
Yes,
The code in this thread is about 9 months old. I took a look at the 4.0.14 and it looks quite different. Is ther anything similar to this fo the newer version? |
Yeah, becasue I just tried this and its wayy FUBAR. :lol:
|
This works in 4.0.12--4.0.16
/xcart/skin1/categories.tpl Code:
{capture name=menu} Now could someone maybe tweak this so the current "sub-cat" will be bold? Please! Pretty even!! :wink: I've gotten close....but must be missing something. ](*,) |
Thats pretty easy, with your code change the following line:
Code:
{if $allcategories[subcat].parentid eq $categories[cat_num].categoryid}{$allcategories[subcat].category} Code:
{if $allcategories[subcat].parentid eq $categories[cat_num].categoryid}{if $cat eq $allcategories[subcat].categoryid}{/if}{$allcategories[subcat].category}{if $cat eq $allcategories[subcat].categoryid}{/if} Thank me later :wink: :D |
Quote:
Well Bless your pea picken heart! That works Great! :D Thanks to alphastara for the final (DUH) :wink: tweak, here's the copy & paste code for skin1/customer/categories.tpl Code:
{capture name=menu} |
Thats great :D
I am now working on allowing more levels of subcategories... :? |
more levels of subcategories
Did you come up with the code to allow more levels of subcategories?
I could use something like that but I have no time to work on it. (I am under a major deadline and I am due to have a baby any day) |
All times are GMT -8. The time now is 05:54 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.