[Zope] - Standard Variables in DTML

Phillip J. Eby pje@telecommunity.com
Mon, 25 Jan 1999 16:27:26 -0500


At 12:15 PM 1/25/99 -0800, David Brown wrote:
>
>Also, I like including the actual document name in the footer of my
>pages so that if something looks weird, I know where to start looking.
>And since this is something I want in all my pages, it seems logical
>to put it in "standard_html_footer".  I looked through the DTML reference,
>and found the <!--#var document_id--> should work, but it -- as it probably
>should -- returns "standard_html_footer".  I'd really like to be able to
>get the name of the "master" document.  Will I have to mine the REQUEST
>headers for that info, or is there a more straightforward way of doing
>this?
>

Why not do this:

<A HREF="manage_main">Edit this page</A>

No DTML required, and you can click to go instantly to the management
interface for that page.  No need to even bother knowing what it's called,
just go in and fix the sucker.  :)