Kapoor, Nishikant schrieb:
> Hello all,
> 
> I have a need to include a template based on a certain condition i.e., I 
> would like to be able to do
> 
>             <tmpl_include "<tmpl_var myDir>/my.tmpl">
> 
> where I can set myDir. Browsing the archives suggests that this functionality 
> is presently not available. Since there is a long list of possible values 
> that myDir can assume, <tmpl_if><tmpl_else> is not a feasible option.
> 
> Any suggestions?

Change your code to open the other template and paste its output into the
template with a simple TMPL_VAR.

-Sven

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to