Enabling External Methods in skin folders
Hi, I have a bunch of External Methods I'd like to make available in a skin form, and which reload in the same way a page template would if it was modified and the server was in debug mode. What's the recommended product for enabling this now? -Morten
On 17 November 2011 11:28, <lists@nidelven-it.no> wrote:
Hi,
I have a bunch of External Methods I'd like to make available in a skin form, and which reload in the same way a page template would if it was modified and the server was in debug mode.
External methods should not require restarts either.
What's the recommended product for enabling this now?
A more robust approach may be to turn your external methods into views, utility functions called from other views, portal_setup upgrade steps, or whatever other purpose they serve. Martin
On 17 November 2011 11:28, <lists@nidelven-it.no> wrote:
Hi,
I have a bunch of External Methods I'd like to make available in a skin form, and which reload in the same way a page template would if it was modified and the server was in debug mode.
External methods should not require restarts either.
What's the recommended product for enabling this now?
A more robust approach may be to turn your external methods into views, utility functions called from other views, portal_setup upgrade steps, or whatever other purpose they serve.
Yeah, OK. Well I have a bunch of old code which we're trying to reuse, in the simplest way possible. I figured out that since those External Methods were all living in one folder to start with, simply importing that folder into the Plone root will do, for now. :) -Morten
participants (2)
-
lists@nidelven-it.no -
Martin Aspeli