[Zope] Simple acquisition for creating pages.

Peter Borocz P.Borocz@fi.com
Mon, 13 Aug 2001 09:50:57 -0700


I've gotten up the learning curve enough to write some simple external
methods but something really simple has me completely stumped.

I'd like to provide a simple "who maintains this folder" at the bottom of
every page. I THOUGHT that folder-level acquisition would allow me do this
easily by including a dtml-var in my standard_html_footer that would pick up
an optional dtml object entry from a respective folder further "down" the
hierarchy.  
However, since my standard-html-footer is only at the root level,  I never
get a dtml-var included from a "lower" folder, only the one from the root.
I've read through the Zope book multiple times and can't find a workaround
while searching the mailing list archives is not easy!

Here's the simplest that I'm looking for:

Root:
-Standard_html_footer  (containing <dtml-var Maintainer>).
-Maintainer (dtml document with a link to person JOE)

Folder-A
----  some-dtml-doc (with a reference to <dtml-var standard_html_footer>)

Folder-B
---- another-dtml-doc (with a reference to <dtml-var standard_html_footer>)
---- Maintainer (dtml document with person BOB)

Results: Folder-A should display JOE for every page while Folder-B should
display BOB at the bottom of every page.

What am I doing wrong or not understanding?  Is there a different mechanism
I need to use in standard_html_footer for the <dtml-var maintainer> to TELL
it to use something locally first? Is this a dtml-document vs. dtml-method
thing??

Any help much appreciated..
Peter Borocz





-------------------------------------------------
PLEASE READ THIS WARNING: All e-mail sent to or from this address will be
received or otherwise recorded by the Fisher Investments  corporate e-mail
system and is  subject to archival, monitoring or review by, and/or
disclosure to, someone other than the recipient.