From: Philip Tellis <[EMAIL PROTECTED]>
>> I want to TMPL_INCLUDE files, the problem is that the file I want to
>> include itself is variable. I want a construct of the sort
>>
>> <TMPL_INCLUDE NAME="<TMPL_VAR NAME=file_name>">
>
> ...  What you want is to use a filter that
>preprocesses your template.  Change your template to something like
>this:
>
><TMPL_INCLUDE NAME="%file_name%">

Or, organize your included templates into directories that can be referenced 
with the "path =>" parameter to the "new" method. Something like:

path => [ '/path/to/templates',
               '/' . $include . '/path' ]

Mark


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to