[htmltmpl] Variable in TMPL_INCLUDE
Brought to you by:
samtregar
From: Jason Y. <ja...@co...> - 2004-04-05 02:48:23
|
Searching the mailing list, a few people have mentioned a patch for allowing variable filenames for the TMPL_INCLUDE tag. Something like this: $t->param(FILE => 'some_file.tmpl'); <TMPL_INCLUDE NAME="FILE"> I'm currently getting around this problem by loading two templates and outputing one into a variable of another. It works but it is kind of a hack. I'm wondering if anyone's made a patch for this feature. If not, I'd probably hack one out. |