skip to navigation
skip to content

tomcom.plone.ptregistry 4.3.0.3

Put page templates in a folder an they will be automatically registered

Information

This package is for registering public global templates in an easy way.

  • Add the zcml registration stuff to your configure zcml.
  • Create a folder.
  • Put files in with ending .pt
  • Enjoy your saved time

Minimum zcml config example

<configure xmlns=”http://namespaces.zope.org/zope

xmlns:browser=”http://namespaces.zope.org/browser” xmlns:five=”http://namespaces.zope.org/five” xmlns:pt=”http://namespaces.plone.org/pt”>

<pt:registry
path=”templates”/>

</configure>

 
File Type Py Version Uploaded on Size
tomcom.plone.ptregistry-4.3.0.3.zip (md5) Source 2013-08-05 7KB