On Thu, Mar 6, 2008 at 4:34 PM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > > On Mar 6, 7:20 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote: > > You can put the assignments in the base controller's .__call__ method > > (in myapp/lib/base.py), or in any controller's .__before__. I use > > that to initialize c.title and c.crumbs, which my site template > > depends on. I initialize them to blank, then an action can update > > them if it wants a more specific title. > > > That is the EXACT use case I was thinking about! > > Thanks Mike! That should be CookBook'd
It's in the "Site Template" article. That may not be the best title because you didn't find it, but it's the best I could think of. http://wiki.pylonshq.com/display/pylonscookbook/Site+Template -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
