- Code: Select all
{foreach from=$categories name=categories item=cat key=cats}
<li><a href="{$cat.path}/">{$cat.title}</a></li>
{/foreach}
The categories are displayed in a verical menu but i plan not use subcategories so i'm interested to show all the categories with the correct path on all my pages.
Currently with the expression posted above the categories are displayed only on my main page, when i click any category only "home" and "add url" links are displayed, to go to another category i must click "home" and only after choose a new category.
Also with the above page on my "addurl" page is displayed a small arrow.
Examples :
Main main page :
Menu
* Home
* Submit
* Category 1
* Category 2
The Categories :
Menu
* Home
* Submit
Add URL Page :
Menu
* Home
* Submit
* <
How i want ?
Menu
* Home
* Submit
* Category 1
* Category 2
On all my pages not only on my main page and the path to be correct, if i browse "Category 2" and click "Category 1" to go to /category1/ not /category2/category1/
Any sugestions are appreciated

