[Zope] Passing 'document_title' to 'standard_html_header' from a method?

Dieter Maurer dieter@handshake.de
Mon, 31 Jul 2000 23:42:18 +0200 (CEST)


 > I can't seem to get the 'document_title' from a method into a
 > standard header (when using '<dtml-var document_title>' in the header
 > file the generated page uses the title of the header file itself.
I just read in "zope-ptk" that a namespace has an (undocumented) "this"
attribute pointing to the DTML method/document that created the
namespace.

If this is true, you can use
  <dtml-var "_.this.title">
to get what you want.


Dieter