I have a ZClass which is based upon OFS: DTMLDocument and I would the new ZClass instances to contain some standard DTML just like that found in a newly created DTMLDocument.... e.g. <dtml-var standard_html_header> <h2><dtml-var title_or_id></h2> <p> This is the <dtml-var id> Document. </p> <dtml-var standard_html_footer> Any tips? Carl
I have a ZClass which is based upon OFS: DTMLDocument and I would the new ZClass instances to contain some standard DTML just like that found in a newly created DTMLDocument....
e.g. <dtml-var standard_html_header> <h2><dtml-var title_or_id></h2> <p> This is the <dtml-var id> Document. </p> <dtml-var standard_html_footer>
Any tips?
If you create the ZClass, some contructor methods will be made, one of which is called add_<YourClass> where <YourClass> is the name of your ZClass. In there you can give your class any default values you want and also change properties. The code may give you some hints. hth Rik
participants (2)
-
Carl Blesius -
Rik Hoekstra