[Zope] Zope products and DTML

Chris Withers lists at simplistix.co.uk
Thu Mar 11 06:45:46 EST 2004


Stephen Rudd wrote:

> It's me again - and still having problems. I have a Zope product. It
> generates a load of useful information, but I wish to insert some DTML
> tags into the data that is output. I have no problem inserting these
> tags, but they will not render. Please could someone please explain how
> to encourage DTML to be parsed from the returned text.

DTML only works if it's rendered.

Your DTML probably wants to live in a DTMLFile object that is an attribute of 
your product class.

Of course, I'd recommend ZPT instead of DTML, but on your head be it ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list