[ic] where do templates load into varriables

Ed LaFrance interchange-users@interchange.redhat.com
Sat Mar 2 10:32:01 2002


At 11:53 PM 3/1/2002 -0600, you wrote:
>Jason Balicki wrote:
>
>>Steven Potter wrote:
>>
>>>I know that the templates (e.g. LEFTRIGHT_TOP, LEFTONLY_TOP, etc..) are
>>>stored in variables, but where is it (which file) that they are loaded
>>>from disk?  I would like to add some of my own, but I can't seem to find
>>>this.
>>If you're talking about the foundation demo, they're in:
>>$icroot/<storename>/templates/<storename>/regions
>>So, for example if you installed via the RPM's it would be in
>>/var/lib/interchange/foundation/templates/foundation/regions
>>Good luck,
>>--J(K)
>>_______________________________________________
>
>
>If I place a file in that directory, does it automatically get loaded into 
>a variable?
>
>Steven Potter

Yes, thanks to this directive in templates/foundation/theme.cfg:

DirConfig Variable templates/__THEME__/regions

- Ed L.


===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================