From: Steve S. <sap...@gs...> - 2003-05-04 17:31:52
|
Chris Winters wrote: > Good question. I haven't used splash before so I'm not sure what > controls the 'theme' part of it. I suspect it would be painless, since > everything in OI is an add-on to TT rather than a replacement. Well, > almost: OI overrides the foo::bar syntax for PROCESS/INCLUDE/WRAPPER for > referring to package::template_name templates. > > If you could post a brief example of how splash works I'd probably have > a better idea. Here's a simple one right from the tt2 examples directory: [% buttons = [ { link => 'buttons.html', text => 'Buttons' } { link => 'menus.html', text => 'Menus' } { link => 'tabs.html', text => 'Tabs' } ] %] [% PROCESS splash/menu %] Basically they're (I think) a lot like OI widgets. They package up a look/feel and wrapper around specific page elements. I haven't done a lot with them. I think OI may override the expected TT load paths, so I started by symlinking them to the OI doc root for starters. I got partial results -- missing images. Maybe the INCLUDE/PROCESS overrides OI has are getting in the way? Since I had (ahem) other problems, I'm not sure where this really stands now. I need to start my experimenting over and watch what I type. 8-) -- Steve Sapovits GSI Commerce, Inc. http://www.gsicommerce.com Email: sap...@gs... |