left menu display only sub-cat

sundri

No avatar

2007-02-21 09:52

i have a few main categories,

for example - About, Products, etc..

Under About the following sub-categories - company, directors, etc
Under Products the following sub-categories - Tin, Steel, Copper, etc

I want the left menu to show both About and Products on the main page, but if I click the "About", then the menu will display ONLY "company, directors, etc"

How is this possible... this can already be done for products.. using "$sContentsMenu"

thanks

» Quick.Cart v1.x

treewood (OpenSolution)

Avatar: treewood

2007-02-21 12:46

sundri - edit templates/contents_menu.tpl and try to add this to SUB block:
<li><a href="?p=p_$aList[iCategory]&amp;sName=$aList[sNameUrl]">$aList[sName]</a> </li>

maybe it will help

sundri

No avatar

2007-02-23 18:34

thanks alot treewood.. i did that.. i get half of what i wanted...
i can add the content menu and its sub categories to the left..

now all i have to do is .. when some one clicks "About" only the About sub-categories are displayed on the left side not other categories, not even the products..

this seems more difficult.. any ideas?
thanks for the starting ..

Back to top
about us | contact