[Zope] can ZPTs be located in LocalFS?

Chris Beaven chris at d-designz.co.nz
Thu May 13 19:45:51 EDT 2004

Hi Roy,
I patched LocalFS to work with page templates, and that patch was added 
to the work of andreas':

It should really be the "official" localFS since it betters the original 
but doesn't introduce problems like ZODB bloating that people have been 
talking about with the CVS 1.1 version...


Roy Mathew wrote:

>I am wondering if there is any way to force a file located in a
>LocalFS or ZFSPath directory to be recognized as a Page template. In
>other words, I want ZOPE to interpret the content of files named with
>a ".pt" extension to be recognized as a Page Template and interpreted
>If my ZFSPath directory is named "ExternalFiles", then I want to be
>able to do stuff like
>  <span tal:replace="here/ExternalFiles/myfile.pt"/> 
>and have the contents of myfile.pt be interpreted as TAL constructs.
>Currently I just see the raw contents in my html output.
>Do you Yahoo!?
>Yahoo! Movies - Buy advance tickets for 'Shrek 2'
>Zope maillist  -  Zope at zope.org
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )

More information about the Zope mailing list