Re: [htmltmpl] Feature Idea [TMPL_VIRTUAL]

2007-04-02 Thread Mathew Robertson
Hi Jason, I personally think this is a good idea, especially if it was provided by a plugin (which means other TMPL_xxx's would also be possible). In this case probably what you want is to use a TMPL_VAR which contains the output of a seperate H::T instance, as in: my $ht = new H::T(filename =>

[htmltmpl] Feature Idea [TMPL_VIRTUAL]

2007-04-02 Thread Jason Purdy
How about a new tag, either as part of the standard distribution or a plugin: TMPL_VIRTUAL The one thing that I like when I'm doing PHP pages is that I can build singular dynamic components and simply include them from the parent template. i.e. # FILE: index.php # FILE: helloworld.php Y

Re: [htmltmpl] escape html whitespace

2007-04-02 Thread Matt Taylor
Thanks for the quick reply. This question may be beyond the scope of this mailing list, but... I am pulling data from a database view that adds spaces to create alignment. For example: * AZ300~30ST Full-Width Std Thic AZ300~18ST Full-Width Std Thic * AZ360HD~36HD 20in Tandem St AZ360HD~20HD