X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Problems with Subcategories (https://forum.x-cart.com/showthread.php?t=7562)

mizzlewillz 05-13-2004 11:13 AM

Problems with Subcategories
 
Hi,

Is there any way to keep the subcategories from disappearing when they are clicked on. I have been trying everything to not make them disappear. I have the subcategories displayed in in the head.tpl but when you click on the subcategories they disappear, how would you keep them there until a customer switches to another main category?. I only want to go down one level from the main category??

This is what I have in the head.tpl
Don't laugh I know it is ugly :D
Code:

{if $cat != ""}
        {section name=cat_num loop=$subcategories}
        <font class=CategoriesList>{$subcategories[cat_num].category_name}</font>

        {/section}
       
        {else}
{/if}

That code displays the subcategories when I click on a main category, but when I go to click on the subcategories they disappear. I would like them to stay docked in the head.tpl until they switch main categories.

I've have searchig the posts, but can't seem to find anything.

ANY help would be GREATLY appreciated.

Mike

shan 05-13-2004 12:35 PM

Hi,

could you keep posts that have the same question in the same thread please :wink:

mizzlewillz 05-14-2004 05:40 AM

Any Ideas
 
Hmmm... So no one knows how to make it so the subcategories don't disappear when you click on them?

Does anyone have any suggestions? in terms of editing the categories.php, or subcategories.tpl.


Thanks in advance for Anything :)

-Mike


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

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