I figured it out. For some reason, when you create a folder in 2.5.0, and you do "Create public interface", it was doing a Page Template instead of a dtml document. That's why my index_html wasn't interpreting dtml. I haven't messed with the page templates yet, so I was probably just not supposed to put dtml in it or something. Is it supposed to do page templates for the auto-generated public interfaces (index_html's)? Dave -----Original Message----- From: Lennart Regebro [mailto:lennart@regebro.nu] Sent: Wednesday, February 06, 2002 4:20 PM To: zope@zope.org Subject: Re: [Zope] </dtml-var>?!?!? From: "David Thibault" <dthibault@esperion.com>
OK, if I do a "View/Page Source" in netscape on that index_html page, I see the dtml code...the server is not parsing it out. What might cause that?
Typically a syntax error. A missing quote sign, or something like that. _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I figured it out. For some reason, when you create a folder in 2.5.0, and you do "Create public interface", it was doing a Page Template instead of a dtml document. That's why my index_html wasn't interpreting dtml. I haven't messed with the page templates yet, so I was probably just not supposed to put dtml in it or something. Is it supposed to do page templates for the auto-generated public interfaces (index_html's)?
I don't know if it is "supposed to", but Zope 2.5.0 DOES create Page Templates instead of DTML Documents. The reason probably is that Page Templates are the prefered concept now. Joachim
participants (4)
-
Chris Withers -
David Thibault -
Joachim Werner -
Markus Schaber