[Zope] finding that variable...

Michael Bernstein mbernstein@profitscape.net
Wed, 14 Jul 1999 10:04:55 -0700


Jens Vagelpohl wrote:

> thanks for the hint. this works great on all DTML *documents*, but i have
> some DTML *methods* which render pages and those unfortunately don't have a
> "properties" tab where i could add such a variable. :(
> 
> any ideas for (elegantly) adding my "helpID" variable so it will work in
> those page rendering methods as well?

Well, do you have more than one DTML Method per Folder? if not, you can attach a
'helpfile' property to the folder, and the Method will acquire it, making it
display exactly the same as the Documents do.

HTH,

Michael Bernstein.