Re: Navigation menu

2011-04-12 Thread Jason Culverhouse
There is a snippet http://djangosnippets.org/snippets/1729/ "Template tag to handle navigation item selection" which is quite useful for creating navigation/menu structure Jason On Apr 12, 2011, at 11:43 AM, javatina wrote: > You can put your current menu option in context an

Re: Navigation menu

2011-04-12 Thread javatina
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 wrote: > Hello all, > > I was wondering how do you generate the navigation menu in your web > s

Re: Navigation menu

2011-04-12 Thread Andy Mikhailenko
Hello Daniel, I think you really need to provide your definition of "nicer" to get useful feedback. For instance, my implementation of breadcrumbs[1] indeed introduces a custom template tag and I haven't the slightest idea what are the use cases where this approach would not be natural. [1] http

Re: Navigation menu

2011-04-12 Thread Derek
On Apr 12, 11:33 am, Daniel Gerzo 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 >

Re: Navigation menu

2011-04-12 Thread emonk
jquery? 2011/4/12 Daniel Gerzo > 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 te

Navigation menu

2011-04-12 Thread Daniel Gerzo
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 wonderin