i need to highlight the current page in navbar.!!its work!! but i extends new html page the navigation bar can't show ????

2018-02-13 Thread varun kishore Ravi
DASHBOARD EVENT LOBBIES MARKET ONLINE PLAYERS SUBSCRIBE $(function () { setNavigation(); }); function setNavigation() { var path = window.location.pathname; path = path.replace(/\/$/, ""); path = decodeURIComponent(path);

Re: Navigation Bar

2013-03-27 Thread Andre Terra
ocumentation on writing custom tags here: https://docs.djangoproject.com/en/dev/howto/custom-template-tags/ Cheers, AT On Wed, Mar 27, 2013 at 11:16 AM, Venkatraman S wrote: > > On Wed, Mar 27, 2013 at 5:55 PM, Simon Shaw wrote: > >> I am Django/Web newbie developer and I am look

Re: Navigation Bar

2013-03-27 Thread Venkatraman S
On Wed, Mar 27, 2013 at 5:55 PM, Simon Shaw wrote: > I am Django/Web newbie developer and I am looking for the correct way to > add a navigation bar (hopefully the correct term) to my ticketing app such > that the options "Admin", "Open New Ticket", "View N

Re: Navigation Bar

2013-03-27 Thread Shawn Milochik
If you put these links in your base template it will appear on every page. If you wrap some of those links with template if/endif syntax and check request.user to see if they have permission, you can hide individual links, change their CSS classes, or replace them with a something else. -- You r

Navigation Bar

2013-03-27 Thread Simon Shaw
I am Django/Web newbie developer and I am looking for the correct way to add a navigation bar (hopefully the correct term) to my ticketing app such that the options "Admin", "Open New Ticket", "View New Ticket", "Dashboard", "Logout" will alway

Re: Navigation Bar

2007-08-22 Thread Amirouche
- Subpage 3 > > And I want to create a navigation bar that provides links to the > current page and all of the parent pages. You have to write recursive (or sort of) function to do something like this. > I'm using Django 0.96. I've played with the url template tag, and I > don

Navigation Bar

2007-08-22 Thread Matt Haggard
I'm becoming accustomed to Django... and I have a design question: I have something like this: Page1 - Subpage 1 - Subpage 2 - Subsubpage 1 - Subsubpage 2 - Subpage 3 And I want to create a navigation bar that provides links to the current page and all of the parent pages