Skip to main content

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

Project description

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tomcom.plone.ptregistry-4.3.0.3.zip (7.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page