On 9/27/06, Darryl Cousins <[EMAIL PROTECTED]> wrote:
<browser:menuItem menu="zmi_actions" title="Add sample gallery" for="zope.app.folder.interfaces.IFolder" action="addSampleGallery.html" permission="zope.ManageSite" />The install method obviously does a lot more including sample content, principals etc. And then there is a subscriber to the application's IObjectAddedEvent which does set up only possible after the content is located.
Ah. You're still using an explicit gesture in the user interface to add this content, then? Ok. I certainly hadn't understood that you wanted this to require a UI gesture. That doesn't require nearly as much spelunking around how Z3 starts up. :-) -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Every sin is the result of a collaboration." --Lucius Annaeus Seneca _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
