Re: [htmltmpl] retrieving default values
Brought to you by:
samtregar
From: Roger B. W. <ro...@fi...> - 2011-11-17 20:15:11
|
On Thu, Nov 17, 2011 at 05:59:27PM +0100, Marcel van Dorp wrote: >I would like to retrieve the default value from the template, eg. >TMPL_VAR NAME="VAR1" DEFAULT="DEFAULTVALUE1" My extension module, HTML::Template::Set, allows you to do <tmpl_set name="var1" value="defaultvalue1"> and retrieve this through the query interface. If this would be useful, let me know and I'll email you a copy. It predates the default= setting, and doesn't interact with it at all. Roger |