17 Sep
2004
17 Sep
'04
10:21 a.m.
Hi John,
When you click on 'index_html' in the folder list, what is displayed in the shaded line just below the menu tabs? (it should be something like: DTML Method at /folder/index_html)
If it is not a DTML Method: try deleting it, then use the 'Add' drop-down menu to create a new DTML Method with the name index_html. Why don't you use a ZPT instead of DTML? It's better and cleaner. You can do: <div tal:replace="structure here/standard_html_header">The Header</div>
Or just: <tal:block replace="structure here/standard_html_header"/> The last statement works and it is shorter, but I think it breaks the philosophy of ZPT: Producing a renderable template even if you aren't using zope. Regards, Josef