Howdy Zopistas! I have a directory structure like this: + myfolder index_html my_external_method dtml_method_1 dtml_method_2 ... In index_html I want to include either dtml_method_1 or dtml_method_2, ... (one method for every week of year). my_external_method tells me which dtml_method to include. This would logically be handled with "<dtml-var <dtml-var my_external_method>>" in index_html but this doesn't work. How could I get this working? Any ideas? Ragnar
On Thu, 7 Dec 2000, Ragnar Beer wrote:
This would logically be handled with "<dtml-var <dtml-var my_external_method>>" in index_html but this doesn't work.
Don't write DTML inside DTML. Inside DTML tag use Python: <dtml-var "_[my_external_method()]"> Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
Ragnar Beer