My site has a global-navigation header, with links to 5 sections of
the site.

I highlight the section that the viewer is currently viewing in the
global header.  Other than the highlighting, the header is the same on
every page of the site.

Then I also have a "local" navigation that shows different links based
on what global section is being viewed.

Finally, each page has its own set of buttons and forms that govern
how that particular page works.

For example, my global nav for a newspaper site might be WEATHER,
SPORTS, NATIONAL, and LOCAL.

Then if the person is looking at WEATHER, the local nav might be
HISTORICAL and FORECAST.

On the FORECAST view, I might allow choices of 3-day forecast and 10-
day forecast.

Right now, to make all this happen, I'm using lots of homemade widgets
and config files.  The system all works fine, but it ain't awesome,
and it certainly is not easy to explain to another developer when I
want them to make a change

I suspect that a lot of sites have funky navigation systems.  Is there
any standard solution?

At the heart, I would like to define a tree data structure in a config
file or a database table and then let the code parse it all, doing all
the right highlighting.

Ideas?
--~--~---------~--~----~------------~-------~--~----~
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