You can put your current menu option in context and then, while
rendering pages, check for it and use a different style for the active
menu option.

On Apr 12, 5:33 am, Daniel Gerzo <danger+dja...@rulez.sk> wrote:
> Hello all,
>
> I was wondering how do you generate the navigation menu in your web
> sites, with a possibility to mark up the "active" page?
>
> My searching revealed some solutions, most of them based on implementing
> a custom template tag and then parsing the request.path. I was wondering
> whether someone came up with something more nicer?
>
> Thanks!
>
> --
> Kind regards
>    Daniel Gerzo

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to