Re: [htmltmpl] using a base "skin/gui" with H-T

2002-09-05 Thread Philip S Tellis
On Thu, 5 Sep 2002, csajl wrote: > i was thinking i'd have to parse the entire x.tmpl into a string and > supply that as a tmpl_var when i parse through the gui.tmpl. use a filter. something like this: and in the perl filter: s///g; although i'm not quite sure if this works as I think it s

Re: [htmltmpl] using a base "skin/gui" with H-T

2002-09-05 Thread Karen Cravens
On 5 Sep 2002 at 13:58, csajl wrote: > i was thinking i'd have to parse the entire x.tmpl into a string and supply > that as a tmpl_var when i parse through the gui.tmpl. > the separate two calls don't necessarily bother me at this point, but didn't > understand if H-T was able to do such a thing

Re: [htmltmpl] Can I define a an error handling routine?

2002-09-05 Thread Brendon Oliver
On Fri, 6 Sep 2002 10:46, Kenny Smith wrote: > Hi all, > > I'm looking for a way to display a different looking error message when > H::T encounters an error like "HTML::Template::param() : attempt to set > parameter 'extra_urls' with a scalar - parameter is not a TMPL_VAR! at > ...", one that fit

[htmltmpl] Can I define a an error handling routine?

2002-09-05 Thread Kenny Smith
Hi all, I'm looking for a way to display a different looking error message when H::T encounters an error like "HTML::Template::param() : attempt to set parameter 'extra_urls' with a scalar - parameter is not a TMPL_VAR! at ...", one that fits my site design. I'm hoping there is some way to assoc

Re: [htmltmpl] using a base "skin/gui" with H-T

2002-09-05 Thread csajl
thanks for the reply. i think i started down the right path (and resolved my initial confusion)after sending out this message, but am i able to pass the "gui" template a filename to then be parsed as part of the tmpl_include (which, then in turn, will be parsed)? ideally, i'd like to reference

Re: [htmltmpl] using a base "skin/gui" with H-T

2002-09-05 Thread Karen Cravens
On 5 Sep 2002 at 11:28, csajl wrote: > the tmpl_include function works but only as far as vertical layout blocks are > concerned (or am i missing something?). You're missing something. But it's more of an HTML issue than an H-T issue. > i searched the mailing list archives as well as google a

[htmltmpl] using a base "skin/gui" with H-T

2002-09-05 Thread csajl
greetings. i'm fairly new to using H-T, having come from a more php-based solution. i'm trying to setup an environment where i can read one base skin/gui tmpl file for the entire site and then include each page-specific template. the tmpl_include function works but only as far as vertical layo

[htmltmpl] HTML::Template::Xpath .... ?

2002-09-05 Thread Cory Trese
I've been playing with : http://search.cpan.org/author/TJMATHER/HTML-Template-XPath-0.10/lib/HTML/Tem plate/XPath.pm For a few days. Pretty cool -- claims to be based on HTML::Template, but uses 'CONTENT_VAR' and 'CONTENT_LOOP' instead of the (insert praise here) 'TMPL_VAR' and 'TMPL_LOOP' nam