[ZPT] title attribute for PageTemplateFile objects

Dieter Maurer dieter@handshake.de
Sat, 8 Feb 2003 19:48:03 +0100

Michael R. Bernstein wrote at 2003-2-8 00:27 -0800:
 > The path "template/title" obviously fails when used in a
 > PageTemplateFile object. I've seen various workarounds for this, but as
 > one goal for PageTemplateFiles is for them to act the same on the FS as
 > ZPTs do in the ZODB, I was wondering if I was overlooking something
 > obvious.

The easiest way:

  after you created the object, give it a title...