[htmltmpl] Including templates where the name is dtermined at run time
Brought to you by:
samtregar
From: Dan H. <dan...@re...> - 2004-08-08 23:48:51
|
Hi all I wish to include a template within another template. However, the template name to be included is determined at run time. I've tried: <TMPL_INCLUDE NAME=SUB_CONTENT> but I get "Cannot open included file SUB_CONTENT : file not found" I tried <TMPL_INCLUDE NAME=<TMPL_VAR NAME=SUB_CONTENT>> but that doesn't parse (as I expected). Is there a way to do this? Dan |