[Zope] Identifying current location

Tim Wilson wilson@chemsun.chem.umn.edu
Sat, 14 Aug 1999 22:15:07 -0500 (CDT)


Hi Zopesters,

I'd like to implement a navigation bar somewhat like the one at the top of
the page at www.zope.org. I'd like to have each button be highlighted
whenever the browser is at that page. For example, the home page would
cause "Home" on the Nav bar to have a different colored background. Two
questions:

1. How to I access the current page's ID so I can code the nav bar logic?

2. Is there a reference for all of these objects? For example, how would I
know about <dtml-var ZopeAttributionButton> if I didn't trip over it?

-Tim

--
Timothy Wilson       | "The faster you  |  Check out:
Henry Sibley H.S.    |  go, the shorter | http://slashdot.org/
W. St. Paul, MN, USA |  you are."       | http://linux.com/
wilson@chem.umn.edu  |       -Einstein  | http://www.mn-linux.org/