Friday, June 1, 2012

External Methods in Plone 4

In Plone 4, /path/to/Plone/instance/Extensions is not created any more. To add an external method:


Create a folder and call it Extensions anywhere (we chose to create it in the buildout directory)
Use the "zope-conf-additional" parameter in plone.recipe.zope2instance to add another location for the Extensions folder


open base.cfg
search for [instance]
add line:

zope-conf-additional = extensions ${buildout:directory}/Extensions

This will make the folder /usr/local/Plone/zeocluster/Extensions available.
Now we can place any scripts files here and register them via ZMI

No comments:

Post a Comment