Hello everyone,

So I was reading this page to try to find a solution:

https://docs.djangoproject.com/en/dev/topics/http/urls/

but I would like to hear any ideas.

What I'm trying to do is basically give the relevant URL hierarchy for any 
page on my website. (That's the best I can put it into words).

So to try and make my question more clear, some examples:

If the visitor was here:

http://www.madtrak.com/ <http://www.madtrak.com/about>

it would say "Home" and that would be a link to the home page.

now going deeper if the visitor was here:

http://www.madtrak.com/about <http://www.madtrak.com/about/contributors>

right above where it says: "Learn more about our 
contributors<http://www.madtrak.com/about/contributors>
 be"

it would say "Home >> About"

and both "Home" and "About" would be the relevant links to 
http://www.madtrak.com/ <http://www.madtrak.com/about> and 
http://www.madtrak.com/about respectively.

and one last time:

if the user was here:

http://www.madtrak.com/about/contributors<http://www.madtrak.com/about/contributors/jjzolper>

right above "*Contributors*"

it would say "Home >> About >> Contributors"

and as you might have guessed "Home", "About", and "Contributors" would be 
the relevant links to http://www.madtrak.com/ <http://www.madtrak.com/about>
 , http://www.madtrak.com/about, and 
http://www.madtrak.com/about/contributors respectively.

I believe after having said this what I'm trying to do is more clear. So 
yeah, I wouldn't want to go page by page creating this for each page I want 
a generic sort of way to code and basically plant this in all the pages 
desired. It would then get the URL hierarchy above it (including the 
current page) and display that in a very quick and easy way to navigate 
through the website!

Thanks so much for your time,

JJ Zolper


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/3nkQa5bqwZ4J.
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