-----Original Message----- From: Shaw, Howard [mailto:ShawH@STHS.org] Sent: Monday, April 19, 1999 4:55 PM To: 'johanc@torped.se' Cc: 'Zope@zope.org' Subject: RE: [Zope] Q: Howto create a different tree element ?
It is indeed possible to add a custom tag from a product. I used this technique in my Counter product. I copied the technique from the Calender product (I don't remember off hand who created that), which implements a seriously powerful tag. It (the Calendar product) is available from the Zope contributions download page, and demonstrates how to construct a tag which can contain DTML to be rendered per iteration, as well as how to create variables to be made available to the inner DTML, much like the 'in' tag.
This is, in fact, how most tags work. Check out: http://www.zope.org/pipermail/zope-dev/1999-April/000317.html Which is a rough draft (thank for the comments, BTW!) -Michel
Howard C. Shaw III Programmer/SysAdmin St. Thomas High School