faqts : Computers : Internet : Web Servers : Zope : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 4 people (25%) answered Yes
Recently 0 of 2 people (0%) answered Yes

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.