How would we keep plug-ins from polluting the global name space? All functions for a plug-in should start with the plug-in name.
So instead of def tag(): it should be def plugin_tag(): -Thadeus On Sat, Nov 14, 2009 at 2:29 AM, dbb <[email protected]> wrote: > > Got it right, thank you Massimo. > > On Nov 13, 3:40 pm, dbb <[email protected]> wrote: > > I need some rest and look this plugin in a fresh mind. > > > > On Nov 13, 3:24 pm, dbb <[email protected]> wrote: > > > > > > > > > Thank you Massimo, I was really confuse on which "view" you are > > > talking, > > > the view created by the plugin or the view in my application. > > > I am taking you answer to be the view in my application. > > > > > On Nov 13, 2:43 pm, mdipierro <[email protected]> wrote: > > > > > > On Nov 13, 12:29 pm, dbb <[email protected]> wrote: > > > > > > > Steps taken: > > > > > > > - downloaded the plugin mini application CRM > > > > > (version of web2py is 1.72.30) > > > > > - UPLOAD CRM as plugin > > > > > - click on tagging > > > > > > ok so far > > > > > > > - click on tag in the controller, got 404-not-found > > > > > -click on tag_cloud in the controler, got blank page > > > > > > because this controller is not expose that way. > > > > As I said. To use this plugin you have to edit your own views > (default/ > > > > index.html for example) > > > > and add > > > > > > {{=tag('tablename',record_id)}} > > > > > > where tablename is a valid table name and record_id is a valid > > > > record_id for that table. > > > > > > Then click on your action (for example default/index) > > > > > > > On Nov 13, 1:19 pm, mdipierro <[email protected]> wrote: > > > > > > > > Please list steps to reproduce the problem > > > > > > > > On Nov 13, 11:57 am, dbb <[email protected]> wrote: > > > > > > > > > I have already logged in my application but still I am seeing > 404 not > > > > > > > found message > > > > > > > > > On Nov 13, 12:42 pm, dbb <[email protected]> wrote: > > > > > > > > > > Ok, it is excellent work thing are getting more appealing and > even the > > > > > > > > questions changes "how do we do this as develpers... bla > bla", which > > > > > > > > is a good sign that web2py is rolling in a good way. > Regarding > > > > > > > > plugins , I have the following questions: > > > > > > > > - how can I incorporate the new plugin within the menu > > > > > > > > - why I am getting "404 not found" message when I clicked on > "tag" in > > > > > > > > the controller and "tag_cloud" does nothing > > > > > > > > > > On Nov 12, 12:17 am, Massimo Di Pierro < > [email protected]> > > > > > > > > wrote: > > > > > > > > > > > resending with some bug fixes > > > > > > > > > > > web2py.plugin.tagging.w2p > > > > > > > > > 1KViewDownload- Hide quoted text - > > > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

