[Zope] finding that variable...

Jens Vagelpohl tommymi@concentric.net
Tue, 13 Jul 1999 14:35:49 GMT


hi zopistas,

here is a tricky one and i haven't come up with a good solution so 
far. i have a site which uses a common standard_html_header to display 
all site navigation links. what i want to do now is make the "help" 
link, which is part of the standard_html_header, context sensitive. 
for this purpose i somehow need to catch information within that 
header about what document it is currently being called for.

i experimented with something like

<!--#with REQUEST--><a href="help_<!--#var 
document_id-->_html">HelpLink</a><!--#/with-->

to retrieve data from the REQUEST, but document_id still resolves to 
either standard_html_header or to the ID of the folder holding everything.

anyone have any suggestions or done something similar?

Jens Vagelpohl