From: Chris W. <ch...@cw...> - 2003-11-04 22:32:56
|
* Stathy G. Touloumis (st...@ed...) [031104 15:59]: > I have created a custom theme which utilizes it's own base_main > template. How do I pass data to this template when it gets called? Is the > data passed to the calling template get passed on to the base_main template? Add stuff to $R->{main_template_vars}, as in: $R->{main_template_vars}{current_weather} = 'Hurricane!'; And in your custom main template: The current weather: [% current_weather %] See OpenInteract::UI::Main for details. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988 |