hope its cool to add to this thread? some good info here on different ways to make menu!
but i can't find way to make menu to have headers between links. anyone know how to do this?? like: ********** header eg cars ********** link link link ********** header eg bikes ********** link link link I'm making menu in controller like this: app=request.application response.menu=[ ['home',request.function=='index','/%s/default/index'%app], and view is like this {{if response.menu:}} <div class="mynav"> <ul> {{for name,active,link in response.menu:}} <li {{if active:}}id="nav-active"{{pass}}><a href="{{=link}}">{{=name}}</a></li> {{pass}} </ul> </div> {{pass}} but it doesnt have headers so looks too many links to user. i can add headers by building static nav menu and putting it in every view but too painful to update! and i'm too new to try T2 and it looks too new too and best i learn how to code my own magic first instead use T2s menu magic! again sorry for easy question for you pros!! anyone done this before? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---