It took me some time to find it back again, but there was a similar question I answered on stackoverflow last year. The answer covered three ways to achieve that, so you might want to give a try to the one that suits your project best:
http://stackoverflow.com/questions/7913999/turbogears2-analog-of-django-context-processors/9769018#9769018 On Thu, Jul 18, 2013 at 12:32 PM, Juan Antonio Ibáñez <[email protected] > wrote: > Hello, > > Is there any way to set one variable inside mako context being > accesible from all templates? > > Regards > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

