[Zope] How To Convert Files To Page Templates?

Nancy Donnelly nancydonnelly2006 at yahoo.com
Wed Nov 8 07:12:55 EST 2006


72----- Original Message ----
From: Chris Withers <chris at simplistix.co.uk>

Nancy Donnelly wrote:
>> That helped a lot! I yahoo'd (can't google any more since they've sold out to >> the interests gathering our personal data for Homeland Security) "put_factory" >> and got this code snippet:
>> 
>> if ext == 'dtml': 
>>   from OFS.DTMLDocument import DTMLDocument
>>  
>>   return DTMLDocument( '', __name__=name )
>> 
>> So...how would I rewrite that to change it into a page template? 

> Here's a more complete PUT_factory that I use:

<code follows>...
That's perfect! Thank you!
Nancy





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20061108/926a4c08/attachment.htm


More information about the Zope mailing list