X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Categories Menu - Showing Subcategories (https://forum.x-cart.com/showthread.php?t=3242)

CorvetteWorks 06-30-2003 07:45 AM

invincible, could you please let us know how to keep the sucategories open ?

blagarde 07-01-2003 11:23 AM

PRETTY PLEASE?! :)

kpayne 07-01-2003 11:32 AM

You should check out this thread:
http://forum.x-cart.com/viewtopic.php?t=2210

(No, it doesn't remember which categories you had opened per page, but it's a very nice menu, all DHTML & JavaScript)

--Kurt

barabbas 07-03-2003 10:27 PM

that code is excellent. however, is their a way to make it so that when a main category is clicked it wont open up a new page page listing the subcategories, instead it will only display the list in the menu?

flytyme 07-06-2003 08:20 PM

Hey inVINCEible,
I'm also curious as to how you got the color theme of your site to change colors when changing sections.

-Morgan

inVINCEible 07-07-2003 10:50 PM

Whoops, Sorry! I hadn't seen this thread in a while...

I ended up finding another thread that had some info on how to do this.. http://forum.x-cart.com/viewtopic.php?t=859

Quote:

I'm also curious as to how you got the color theme of your site to change colors when changing sections.

I used the $topcat variable (which shows the root category)...

Code:

{if $topcat eq "248" || $cat eq "248"}orange{elseif $topcat eq "250" || $cat eq "250"}purple{elseif $topcat eq "249" || $cat eq "249"}blue{elseif $topcat eq "251" || $cat eq "251"}green{else}red{/if}

komarik 07-16-2003 08:23 PM

inVINCEible
Can you please post how to fix the subcategories problem?
Thanx

PharSide 08-06-2003 09:57 AM

VERY VERY nice... So how do I get it to remember what main category the user is on so it will keep that main categories links' sub actegory links shown? Just like the example site above.

Thanks!

maki 08-08-2003 05:11 AM

Show Subcategories, solved??
 
Hi inVINCEible !!!

I have visited your Web page, and have verified that you have solved the problem of subcategorias which they stay unfolded when you press in one of them.

you could say to us that changes you have made in the code to obtain it??

thanks !! :)

rodneyw 08-12-2003 05:46 AM

I can't seem to get this to work properly. If I have a sub-cat under a sub-cat it doesn't display those listings.


All times are GMT -8. The time now is 11:29 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.