From: Steve S. <sap...@gs...> - 2003-05-04 18:04:17
|
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. I replied: > 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 %] I forgot you have to add this before the code above: [% PROCESS splash/config %] The config. has vaious overrides you can set. I got this to work by symlinking various pieces from my TT2 install to the OI directories. Are there master settings I can override instead? Basically, where outside of OI to look for images, templates, etc. Worst case the symlinks aren't too bad, except that they likely become hidden magic someone else misses on a reinstall. -- Steve Sapovits GSI Commerce, Inc. http://www.gsicommerce.com Email: sap...@gs... |