TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

How to implement a menu using TBS

By: Michael Frey
Date: 2011-10-23
Time: 19:49

How to implement a menu using TBS

I have a menu that consists of <ul> and <li> tags.

What would be the best way to implements this in TBS, IF:
1. I want to add class="current" to selected items.
2. menu items displayed are dependent on the user being logged into the system.

Thanks
Michael
By: Skrol29
Date: 2011-10-24
Time: 21:42

Re: How to implement a menu using TBS

Hello Michael,

They are some threads about this at the Tip & Tricks forum. Search for "menu" or "hierarchical".
Admin mode