When you add a navbar entry to a method, you do something like this:

@navbar('My || Spiffy || Menu || Structure')

If you want to tell render_navbar that the menu item which should be given
the active class is that one, you would then do this in your template:

render_navbar(active='My||Spiffy || Menu || Structure')

And that's it, you're done.

On Sun, Dec 4, 2011 at 6:57 AM, Lexa Po <[email protected]> wrote:

> Hello,
>
> Please give me example how to use active parameter in render_navbar of
> tgext.menu.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/RhS404wses4J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to