... overwrite a plone template

by zet — last modified Mar 08, 2011 01:41 PM
example colophon

 

Register your template in browser/configure.zcml:

 

<browser:viewlet
name="plone.colophon"
for="*"
manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
template="pathToYourTemplate/YourTemplate.pt"
permission="zope.Public"
layer="..interfaces.IYourInterfaceClass"
/>

 

The layer binds the viewlet to your product and points to the template that shall be used instead.

Filed under: , ,