ANN: plone.browserlayer - installable layers for view components that are visible after product install only
Jon Stahl
jon at onenw.org
Wed Nov 14 18:35:25 UTC 2007
Martin Aspeli wrote:
> 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.
this fixes a "feature regression" of sorts, and if we include it, it's
one less random thing for add-on product authors to have to remember,
and that helps our approachability. ;-)
$0.02 and declining,
jon
More information about the Product-Developers
mailing list