On Tue, Sep 2, 2008 at 12:54 AM, Jorge Vargas <[EMAIL PROTECTED]> wrote:
>
> I want to be able to customize some layout variables from the config
> files. For example I want to have a "company_name" variable that will
> be displayed as <title> ${company_name} - Downloads </title> I think
> the best way to accomplish this will be to prepopulate the variable in
> lib/base but I'm not sure how to accomplish this.

You can put it in either .__before__ or .__call__.  I put things like
this at the beginning of .__call__, and save .__begin__ for the
subclass' use.

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to