Re: [htmltmpl] Skip some Hash keys in

2003-06-24 Thread Brian McCain
I'll second the suggestion about checking die_on_bad_params. You don't need it turned on unless you're trying to do exactly what you're trying to avoid here. Turning it off will allow you to skip params. - Original Message - From: "Vince Veggus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[htmltmpl] getting the value of a param inside a loop with param() or query()

2003-03-27 Thread Brian McCain
7;EXAMPLE_LOOP', 'BEE']); ...but how would I go about getting the value of a variable inside a loop using either param() or query()? Brian McCain PageMasters Internet Group --- This SF.net email is spo

Re: [htmltmpl] how to display data in four columns

2003-01-16 Thread Brian McCain
tly you're adhering to the separation of data and presentation...though, if you're using H-T-Expr, that probably isn't too terribly great a concern. Brian McCain PageMasters Internet Group - Original Message - From: "Kapoor, Nishikant X" <[EMAIL PROTECTED]&

Re: [htmltmpl] ANNOUNCE: Bricolage 1.4.5

2002-11-13 Thread Brian McCain
lage developer nor a Bricolage user, and if I wanted to get notifications of updates to Bricolage, I'd sign up for one of their lists. Brian McCain PageMasters Internet Group --- This sf.net email is sponsored by: Are you worried about y

Re: [htmltmpl] Error code.

2002-10-10 Thread Brian McCain
n EMPTY loop, which wont display any data, but # will keep H:T from throwing an error. Hope this helps. Brian McCain PageMasters Internet Group - Original Message - From: "Kenny Smith" <[EMAIL PROTECTED]> To: "Brian McCain" <[EMAIL PROTECTED]>; "Doc"

Re: [htmltmpl] Error code.

2002-10-10 Thread Brian McCain
status" which will be set to 'null' if $rows evaluates as false. It's a bit of overkill, but it'll fix your problem. But seriously Doc, lighten up, and remember that we're trying to help you out of the goodness of our hearts and our wish to support other deve

Re: [htmltmpl] HTML-Template and DBI

2002-09-27 Thread Brian McCain
oblem. Speaking of that specific problem...maybe you could clear it up for us Doc, exactly what is it that you are trying to do? The more detailed the question, the higher chance of an accurate (and applicable) solution. Brian McCain PageMasters Internet Group - Original Message - From: &quo

Re: [htmltmpl] HTML-Template and DBI

2002-09-26 Thread Brian McCain
oop data, and all you have to do is name it: $template->param(ROWS => $arrayref); Of course, you'll want some error handling, because if no rows are returned, you'll get an error complaining that the parameter is not a TMPL_VAR, and your template won't parse. Brian McCain Page

Re: [htmltmpl] CSS in a Template

2002-09-17 Thread Brian McCain
e slightly less crazy workarounds, but the mod_rewrite solution is by far the most solid, and coolest solution. (Thanks Kenny) | Thanks for the help, | | Will | | Have fun, Brian McCain PageMasters Internet Group --- This SF.NET email is sponsored

Re: [htmltmpl] CSS in a Template

2002-09-17 Thread Brian McCain
ly felt like it. Brian McCain PageMasters Internet Group | PLMK, | THNX, | | Will | | __ | Do you Yahoo!? | Yahoo! News - Today's headlines | http://news.yahoo.com | | | --- | This SF.NET email

Re: [htmltmpl] Nesting Templates

2002-08-14 Thread Brian McCain
Why not just stick the block of HTML, tmpl_vars and all, into another template, and then anywhere you have that block, replace it with ? Brian McCain PageMasters Internet Group - Original Message - From: "David Veatch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [htmltmpl] Dynamic TMPL_VAR names? Is it possible?

2002-08-13 Thread Brian McCain
Without knowing how you're using the associate feature, it's hard to come up with a workaround. It seems like loops should work for you, but if whatever youre doing with associate is making that impossible, perhaps you could include the portion of your code where you use associate? Brian - O

Re: [htmltmpl] Re: Patches for HTML-Template-2.5.tar.gz

2002-07-25 Thread Brian McCain
On Thursday, July 25, 2002, Sam Tregar wrote: | On Thu, 25 Jul 2002, Philip S Tellis wrote: | | > What I would really like to see though is a and | > . That would really clean up some of my templates that | > have too many nested ifs. | | Mmm.. I've considered it at various points. Each tim

Re: [htmltmpl] TMPL_IF truth vs definition

2002-06-21 Thread Brian McCain
ailable in HTML::Template::Expr. Brian McCain PageMasters Internet Group - Original Message - From: "Douglas Kirkland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 2:16 PM Subject: Re: [htmltmpl] TMPL_IF truth vs definition | On Friday