David Glick wrote:
Martin Aspeli wrote:
Jon Stahl wrote:
Martin Aspeli wrote:
Enter plone.browserlayer. This lets you register a layer using
GenericSetup, i.e. during product installation. A traversal hook
similar to the one in plone.theme ensures that it's applied when
you traverse into the Plone site.
Martin-

You have or are going to PLIP this for 3.5, right?
Remind me again sometime...

Martin

Here is your reminder! (Just had an opportunity to work on an add-on product where this was exactly what was needed, and it'd be nice to get it into core Plone.)

Sure, but it's pretty easy to just say

 install_requires="plone.browserlayer"

in your setup.py and you get it automagically anyway.

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to