Entry
What is the best method to enter more attributes about DTML Document?
Jul 29th, 2000 21:54
unknown unknown, Chris McDonough
Problem:
Short and probably obvious problem: what can I do to be asked for more
properties while creating DTML Document (say I wanna be asked about
description and keywords which I use in meta tags)?
Solution:
There's not a particularly obvious solution other than to define a
ZClass which inherits from DTML Document and exposes a constructor form
that asks for these properties as well as an edit form that does same.
See the ZClass tutorial on Zope.org at
http://www.zope.org/Documentation/Guides/ZDG-HTML/ZDG.html
to get started.