[Zope] Passing 'document_title' to 'standard_html_header' from a method?
Peter Bengtsson
peter@grenna.net
Mon, 31 Jul 2000 13:56:15 +0100
http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo
"They [methods] do not act like most other Zope objects because they are
methods of the folder that contains them. "
Very important reading. I've forgotten most of it, but what I remember is
important.
----- Original Message -----
From: Jonathan <listsmurf@ur.nl>
To: <zope@zope.org>
Sent: Monday, July 31, 2000 1:06 PM
Subject: [Zope] Passing 'document_title' to 'standard_html_header' from a
method?
> Hi all,
>
> 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.
>
> Using 'title_or_id' in the header file for a method uses the title or
> id from the folder it is in, not the title from the method itself.
>
> Any ideas? I didn't really find a solution in the archives; it does
> work with DTML Documents, but not with DTML Methods?
>
> Thnx,
> Jonathan
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>