I'm still having trouble trying to get Zope to use/ignore header and footer
code in the appropriate places.
To have Zope ignore the footer code in one place but still display footer
code on other pages, I've resorted to this:
<dtml-in "objectValues(['DTML Document'])" size=3 sort=title reverse>
<a href="/history/2000/<dtml-var id>" title="Permanent link to the
entry for <dtml-var title>">PermaLink</a>
My problem was that on the first sequence item returned, Zope would insert
the footer code. On items 2 and 3, Zope would not display the footer code,
and, again, at the end of the page, when I did want the footer code to
appear, it wouldn't.
I had no trouble with the header code.
I assume it had no trouble with the header code because by calling it to
display that document itself, Zope inserted the code and set the
renderedheader to 1, causing it to be ignored elsewhere in the document, as
So. Is there a better way to do this? Or is the above meet and right and
not worthy of shame? I want to write a How-To so other newbies don't have
to go through what I did.
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -