No, the docs are just vague about it. On 12/14/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote: > > Did the docs say that? I'm not sure they do... > > Kevin > > On 12/14/05, Jared Kuolt <[EMAIL PROTECTED]> wrote: > > > > Okay okay, I'm dumb. It's "std.settings". Man, I've never been smart about > > STDs. > > > > O_o > > > > On 12/14/05, Jared Kuolt <[EMAIL PROTECTED]> wrote: > > > If I understand this correctly, this should work, no? > > > > > > settings = Settings.get(1) > > > > > > def settings_callback(variables): > > > variables["settings"] = settings > > > > > > view.variableProviders.append(settings_callback) > > > > > > Though the template says "settings" is not defined. I'm afraid I may > > > have to rewrite this docs to make it more clear ;) > > > > > > On 12/13/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote: > > > > > > > > On 12/13/05, Jared Kuolt <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I'd like to build some settings that I want to be global, meaning i > > > > > don't have to pass them to the kid templates. > > > > > > > > > > How can I create a global variable so Kid can use it? > > > > > > > > http://www.turbogears.org/docs/gettingstarted.html#predefined > > > > > > > > http://www.turbogears.org/docs/api/turbogears.view-module.html#variableProviders > > > > > > > > Kevin > > > > > > > > -- > > > > Kevin Dangoor > > > > Author of the Zesty News RSS newsreader > > > > > > > > email: [EMAIL PROTECTED] > > > > company: http://www.BlazingThings.com > > > > blog: http://www.BlueSkyOnMars.com > > > > > > > > > > > > > -- > > > [EMAIL PROTECTED] > > > > > > > > > -- > > [EMAIL PROTECTED] > > > > > -- > Kevin Dangoor > Author of the Zesty News RSS newsreader > > email: [EMAIL PROTECTED] > company: http://www.BlazingThings.com > blog: http://www.BlueSkyOnMars.com >
-- [EMAIL PROTECTED]