On Sat, Nov 19, 2011 at 12:37 AM, Carlos Daniel Ruvalcaba Valenzuela <[email protected]> wrote: > I'm quite interested on the hooks and the pluggable apps, I was doing > a small cms structured in a similar way as drupal, as there was no > clear way to provide tg backed extensions mechanism, I rolled my own, > but I rather use something from core, is there docs on this already > (in dev branch)? >
For pluggable apps there is nothing available yet, for the hooks you can take a look at http://sourceforge.net/p/turbogears2/tg2docs/ci/d529b6eda32ba59792818938f8e6aac5e7b91b24/tree/docs/main/Config.rst (Search for "Hooks") The app wide hooks will be available only from 2.1.4, but the controller hooks have always been there. I used them for tgext.debugbar, so you can take a look at https://bitbucket.org/_amol_/tgext.debugbar/src/589ca2137ce0/tgext/debugbar/initialize.py for an example. -- You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en.
