logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Dynamically including templates?: msg#00007

Subject: Re: Dynamically including templates?
My guess is that it's trying to do the INCLUDE *BEFORE* doing the variable substitution.

So if you're stuck on making the included file dynamic, I would recommend a two-sweep approach, which I see Timm Murray's post addresses.

Cheers,

Jason

Todd Chapman wrote:

I would like to pass a parameter to a template that
would be used to include another template. This
syntax does not seem to be valid:

 <TMPL_INCLUDE NAME="<TMPL_VAR NAME=include_param>">

How can I accomplish this?

Thanks.

-Todd



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Html-template-users mailing list
Html-template-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/html-template-users



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html


<Prev in Thread] Current Thread [Next in Thread>