[ZPT] DTML in ZPT?

Tino Wildenhain tino at wildenhain.de
Thu Jun 19 23:41:50 EDT 2003


Hi Matt,

Reverend Matt wrote:
> Is it possible to use DTML code in a page template?  I ask because I
> have a few special functions that I wrote some time ago in DTML and
> simply haven't been able to find a way to rewrite them in ZPT.

This is because you are not supposed to write the logic into ZPT.
Instead write it into one or more python scripts and
use their formattet (e.g. transformed into lists of dictionaries)
output inside your ZPT.

Regards
Tino




More information about the ZPT mailing list