Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Categories Menu - Showing Subcategories

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 06-30-2003, 07:45 AM
 
CorvetteWorks CorvetteWorks is offline
 

Member
  
Join Date: May 2003
Posts: 17
 

Default

invincible, could you please let us know how to keep the sucategories open ?
Reply With Quote
  #12  
Old 07-01-2003, 11:23 AM
 
blagarde blagarde is offline
 

Member
  
Join Date: Jun 2003
Posts: 28
 

Default

PRETTY PLEASE?!
Reply With Quote
  #13  
Old 07-01-2003, 11:32 AM
  kpayne's Avatar 
kpayne kpayne is offline
 

X-Adept
  
Join Date: Dec 2002
Location: Firetanksoftware.com
Posts: 469
 

Default

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
Reply With Quote
  #14  
Old 07-03-2003, 10:27 PM
 
barabbas barabbas is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 52
 

Default

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?
Reply With Quote
  #15  
Old 07-06-2003, 08:20 PM
 
flytyme flytyme is offline
 

Member
  
Join Date: Feb 2003
Location: Dayton, OH, US
Posts: 22
 

Default

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

-Morgan
__________________
Security is mostly a superstition. It does not exist in nature nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure or nothing. - Hellen Keller
Reply With Quote
  #16  
Old 07-07-2003, 10:50 PM
 
inVINCEible inVINCEible is offline
 

Member
  
Join Date: Mar 2003
Location: California, USA
Posts: 21
 

Default

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}
Reply With Quote
  #17  
Old 07-16-2003, 08:23 PM
 
komarik komarik is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 41
 

Default

inVINCEible
Can you please post how to fix the subcategories problem?
Thanx
Reply With Quote
  #18  
Old 08-06-2003, 09:57 AM
 
PharSide PharSide is offline
 

Member
  
Join Date: May 2003
Location: Mountain View, CA
Posts: 12
 

Default

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!
Reply With Quote
  #19  
Old 08-08-2003, 05:11 AM
 
maki maki is offline
 

Advanced Member
  
Join Date: May 2003
Location: Spain
Posts: 46
 

Default 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 !!
Reply With Quote
  #20  
Old 08-12-2003, 05:46 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:23 AM.

   

 
X-Cart forums © 2001-2020