Jens Vagelpohl wrote:
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.
depending on your setup, you could easily customize the help page on a per folder basis by linking to a help_html method, and placing one in each folder. If you have more than one content file per folder, you can attach a 'helpfile' string property to DTML methods holding content, and create a link like this: --untested code-- <a href="<!--#var helpfile-->">Help</a> HTH, Michael Bernstein.