[cgiapp] Re: Turning on some global things for HT

2007-02-11 Thread Robert Hicks
Mark Stosberg wrote: Robert Hicks wrote: I want to turn: loop_context_vars = 1 die_on_bad_params= 0 ON, for all templates. Can I put something in the cgiapp_prerun that does this? Yes. See the docs for The load_tmpl() callback. It allows you to do just that. Is this sufficient or is

[cgiapp] Re: Turning on some global things for HT

2007-02-01 Thread Mark Stosberg
Robert Hicks wrote: I want to turn: loop_context_vars = 1 die_on_bad_params= 0 ON, for all templates. Can I put something in the cgiapp_prerun that does this? Yes. See the docs for The load_tmpl() callback. It allows you to do just that. Mark

[cgiapp] Re: Turning on some global things for HT

2007-02-01 Thread Robert Hicks
Mark Stosberg wrote: Robert Hicks wrote: I want to turn: loop_context_vars = 1 die_on_bad_params= 0 ON, for all templates. Can I put something in the cgiapp_prerun that does this? Yes. See the docs for The load_tmpl() callback. It allows you to do just that. Mark Thanks Mark, I

[cgiapp] Re: Turning on some global things for HT

2007-02-01 Thread Robert Hicks
Mark Stosberg wrote: Robert Hicks wrote: I want to turn: loop_context_vars = 1 die_on_bad_params= 0 ON, for all templates. Can I put something in the cgiapp_prerun that does this? Yes. See the docs for The load_tmpl() callback. It allows you to do just that. Mark In reading that