Hi Mark, Philip, Is this part of the HTML::Template::expr package? I don't see any %...% construct in HTML::Template. Sorry I am asking you this... ppm is down at activestate and I cant get at the expr module!
Rajesh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark A. Fuller Sent: Tuesday, July 12, 2005 7:17 PM To: Philip Tellis; HTML::Template List Subject: Re: [htmltmpl] Nesting TMPL tags 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 DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ------------------------------------------------------- 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