The plugin action should have some reserved actions like _on_install _on_unistall _configure (what else)
That can only be called by the administrator and exposed via admin only. The on_install for example could register a service with cron or append translated string to a language file. The plugin could be listed in admin with a button that says [configure] and the plugin itself generates a configuration interface depending on what it does like in this case. On Nov 5, 11:41 pm, "mr.freeze" <[email protected]> wrote: > I'm starting to be sold on the new plugin system. This is very cool. > > On Nov 5, 11:09 pm, mdipierro <[email protected]> wrote: > > > I downloaded multiple layouts from the web with a free Artistic > > License and used a script in BeautifulSoup to replace the header, menu > > and content with web2py tags. Then I rearranged the files in the > > proper web2py locations and stuck everything under one app. > > > It took about 2hrs. One can do better with more time. About 50% of the > > layouts would need some manual tweaks. I have another 1000 layouts > > that I did not process. > > > Massimo > > > On Nov 5, 11:03 pm, Graham Dumpleton <[email protected]> > > wrote: > > > > For the curious, would you like to explain the procedure you, or > > > whoever, went about to generate this. > > > > Ie., where were original layouts/stylesheets obtained from, what > > > script or whatever was used to convert/package them into form > > > understood by web2py. > > > > Sorry if the answer is obvious but I am ignorant of what web2py does > > > internally and so as an outsider would like short dumb persons > > > explanation. > > > > Thanks. > > > > Graham > > > > On Nov 6, 3:56 pm, mdipierro <[email protected]> wrote: > > > > >http://web2py.com/layouts/plugin_layouts/index?apply=EfflorescenceOrange > > > > > - Try it online first. > > > > - Then download the plugin (it is 30MB and it includes 408 layouts > > > > already customized for web2py, sort of, + images and css). > > > > - Apply the plugin on top of an existing app using admin (requires > > > > 1.71.2 or higher) > > > > > From a distribution point of view it would be better to distribute one > > > > layout at the time, but from the user point of view, it is cool to > > > > have all of them together. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

