Re: [htmltmpl] HTML::Template tutorials

2007-08-01 Thread Chris Henden
Thanks to all for offering suggestions, they've been very useful. Chris On 1 Aug 2007, at 17:22, Philip Tellis wrote: > On 01/08/07, Chris Henden <[EMAIL PROTECTED]> wrote: >> Hi all, >> I'm looking for a nice tutorial on HTML::Template authoring, aimed at >

[htmltmpl] HTML::Template tutorials

2007-08-01 Thread Chris Henden
s etc, which ideally our html developer doesn't need to know about. Can anyone point me in the right direction? many thanks in advance, Chris - This SF.net email is sponsored by: Splunk Inc. Still grepping through log fil

[htmltmpl] Filter Syntax

2007-07-26 Thread Chris Faust
but $template becomes the first object I send in ($r in this case). How do I get the HTML::Template object?? TIA!! -Chris - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find p

Re: [htmltmpl] Next H::T release.

2006-12-04 Thread Chris Beck
think it is one step too far down the road of integrating code and presentation. That being said - I would never use it so it's inclusion/exclusion does not concern me. I do believe it goes against the spirit of H::T though - maybe it should be in a plug-in. Cheers, Chris

Re: [htmltmpl] extra whitespace

2006-02-08 Thread Chris Beck
he kids say these days, it teh r0xors. Or something like that. Cheers, Chris -- Chris Beck - http://pacanukeha.blogspot.com "I don't think anybody anticipated the breach of the levees." - President Bush, September 1, 2005 --- T

Re: [htmltmpl] extra whitespace

2006-02-08 Thread Chris Beck
ot_ of people come across the same issue with a framework and there is a clear scenario that spans most people's use cases, then it makes sense to do it in H:T. H:T, in my view, is most useful to separate display from code. Adding more layers and wrappers of code to affect display is counter-p

Re: [htmltmpl] HTML::Template and XHTML

2005-10-28 Thread Chris Beck
for the help. I am already using filters so I can embed tags in form fields. I was just hoping for a new XHTML aware version :) -- Chris Beck - http://pacanukeha.blogspot.com Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity. --

[htmltmpl] HTML::Template and XHTML

2005-10-25 Thread Chris Beck
Hey all, Is there any way I could request that XHTML style also be valid? Cheers, Chris -- Chris Beck - http://pacanukeha.blogspot.com "Privacy is what they take away when they want to torture you.” -- The Earl of Spencer --- This S

[htmltmpl] HTML Template and Cookies

2005-09-27 Thread Chris Beck
w do people do cookies? Cheers, Chris -- Chris Beck - http://pacanukeha.blogspot.com The other day, in the park, I was wondering why frisbees look bigger and bigger as they get closer to you. And then it hit me. -- http://bash.org/?479067 ---

Re: [htmltmpl] Chain of forms, scripts and templates

2005-09-04 Thread Chris Beck
ntent-Type: text/html\n\n"; > print $template->output; > > | > | > V > > Form.tmpl > - > - displays > - user fills form > - user presses submit > > | > | > V > > SubmitData.cgi > - > my $template = HT

[htmltmpl] Template Associate strangeness?

2004-07-22 Thread Chris Faust
f "some_loop" is unique - This seems very much like a problem I've had before - but I can't remember any fix..   Any help would be appreciated..   Thanks -Chris

Re: [htmltmpl] New Template Object based on Existing one

2004-02-09 Thread Chris Faust
hing special to some, or should have been obvious to me - but I wish I figured this out about a year ago as I would have saved hours upon hours of specialized email creation code, never mind about 5000 db hits a day that I will just go

Re: [htmltmpl] New Template Object based on Existing one

2004-02-09 Thread Chris Faust
o mark that value true, plus it seemed to process forever, it took about 2 mins.. I'm going to keep experimenting and see if I can get something to work, if you have any other idea, I'd love to hear them. Thanks -Chris --- The SF.N

Re: [htmltmpl] New Template Object based on Existing one

2004-02-08 Thread Chris Faust
Thanks Roger, I'll give that a try and see what happens. -Chris - Original Message - From: "Roger Burton West" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 08, 2004 12:51 PM Subject: Re: [htmltmpl] New Template Object based on Existing o

[htmltmpl] New Template Object based on Existing one

2004-02-08 Thread Chris Faust
e params and values that were/are in $content.   I know that wouldn't work, just hoping it would help explain.   Thanks -Chris  

Re: [htmltmpl] Using HT to create HTML Email

2004-01-07 Thread Chris Faust
::Sendmail and just bounce it off our SMTP server in the network - works great!. Thanks Again -Chris --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanc

[htmltmpl] Using HT to create HTML Email

2004-01-07 Thread Chris Faust
f        =>    1,                                                                         );                                                                                             &send_email($email_message);   I know I should just try it and see what happens, but I also wanted to see if anyone had a better suggestion on creating HTML emails.   Thanks -Chris  

RE: [htmltmpl] Comparing H::T:Expr variables

2003-11-20 Thread Chris
nks!! > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sam > Tregar > Sent: Thursday, November 20, 2003 1:46 AM > To: Chris > Cc: Mathew Robertson; [EMAIL PROTECTED] > Subject: RE: [htmltmpl] Comparing H::T:Expr variables > > &

RE: [htmltmpl] Comparing H::T:Expr variables

2003-11-19 Thread Chris
finish(); $template->param( ROWS => [EMAIL PROTECTED] ); print $template->output; I really dont know why H::T is complaining about finding a without a , since there is, indeed one there. Thanks! > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTE

RE: [htmltmpl] Comparing H::T:Expr variables

2003-11-19 Thread Chris
; From: Mathew Robertson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 8:24 PM > To: Chris; [EMAIL PROTECTED] > Subject: Re: [htmltmpl] Comparing H::T:Expr variables > > > > The new template file looks like: > > > > &

RE: [htmltmpl] Comparing H::T:Expr variables

2003-11-19 Thread Chris
quot; Thanks!!! > -Original Message- > From: Mathew Robertson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 7:28 PM > To: Chris; [EMAIL PROTECTED] > Subject: Re: [htmltmpl] Comparing H::T:Expr variables > > > > > I seems that when

[htmltmpl] Comparing H::T:Expr variables

2003-11-19 Thread Chris
Hi All, Quick question for you. Iv got the following template: Can be seen at: Model Name: Model Comp: Model Name: Model Comp: The URL on match: I seems that when I call:

RE: [htmltmpl] MySQL -> HTML::Template - WITH source

2003-11-17 Thread Chris
: HTML::Template : Attempt to set nonexistent parameter 'urlloop' - this parameter name doesn't match any declarations in the template file : (die_on_bad_params => 1) at test.pl line 36 Im really not sure what to do here Thanks! > -Original Message- > From: [EMA

RE: [htmltmpl] MySQL -> HTML::Template

2003-11-17 Thread Chris
ut this gives you the idea of what iv been trying, each time with failure. Any help is very much appreciated as I am very frustrated :) Thx! -c > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Kenneth Gonsalves > Sent: Sunday, November

[htmltmpl] MySQL -> HTML::Template

2003-11-15 Thread Chris
Hey all, Im new to HTML:Template, and it looks pretty nice, but I have not seen anything related to using MySQL output. Basically all I really want to do is be able to give my web designers tags like: %%SEARCH_RESULTS%% which when the page is parsed by my cgi using HTML:Template will recie

RE: [htmltmpl] catch the carp::croak() death...

2003-06-27 Thread Chris Davies
my $string = eval { $template->output }; if ($@) { # eval failed... } Regards, Chris --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner

Re: [htmltmpl] catch the carp::croak() death...

2003-06-27 Thread Chris Reinhardt
On Fri, 27 Jun 2003, Vince Veggus wrote: [snip] > Is there a way to catch the "die" that carp::croak calls? eval { ...code that dies... }; if ($@) { # There was an error in the eval {} } -- Chris Reinhardt [EMAIL PROTECTED] Systems Architect Dynamic DNS Network

Re: [htmltmpl] Skip some Hash keys in

2003-06-24 Thread Chris Faust
little html in the script, unfortunately. -Chris - Original Message - From: "Vince Veggus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 24, 2003 9:33 AM Subject: [htmltmpl] Skip some Hash keys in > Hello, > > Is there a way to skip some

RE: [htmltmpl] HTML::Templates and PerlIO integration?

2003-06-18 Thread Chris Davies
the way that template > files are opened? There was a message posted by Alexey Mahotkin just a few days ago (28th May) giving a patch that appears to provide exactly what you're looking for. Subject "templates in UTF-8 (and generic

Re: [htmltmpl] ANNOUNCE: Bricolage 1.6.0 - Any others

2003-06-12 Thread Chris Faust
I was just checking out the docs of Bricolage and it peaked my interest. Are there any other content management systems out there that support HTML::Template and run on mySql? Thanks -Chris - Original Message - From: "David Wheeler" <[EMAIL PROTECTED]> To: <[EMA

RE: [htmltmpl] Installing HTML::Template without using PPM

2003-03-10 Thread Chris Davies
ble to install it on your web server. You must use its complete relative path, HTML/Template.pm (i.e. create a subdirectory "HTML" and put the Template.pm file in there). Chris --- This sf.net email

Re: [htmltmpl] H::T GUIDE FOR WEB DESIGNERS]

2003-02-10 Thread Chris Brown
ur company however I know despite IP restrictions I'm allowed to work on OSS stuff in my spare time (i.e. the company doesn't own what I do at home), specifically asked for that when I was hired. If it becomes a true project with contributors I would hope they wouldn't have a problem

RE: [htmltmpl] Trimming whitespace

2003-02-10 Thread Chris Davies
x27;t > care. The browser does care (under certain circumstances): Is different to at least on the browsers I've tested. (This has bitten me in the past.) Regards, Chris --- This SF.NET email is sponsored by: S

RE: [htmltmpl] Does HT:Expr evaluate each loop iteration?

2003-02-05 Thread Chris Davies
I wrote: > Of course, the presence of the "4" shades the separation of code and > content somewhat. Drew Taylor replied: > I would disagree Ooops. End-of-day brain fade. Sorry about that - you're all quite correct. Chris ---

RE: [htmltmpl] Does HT:Expr evaluate each loop iteration?

2003-02-05 Thread Chris Davies
On Wed, 5 Feb 2003, Andrew Brosnan asked: > Can H:T:Expr be used inside a loop to evaluate each iteration of the > loop? Sam Tregar corrected the suggested syntax with, > Of course, the presence of the "4" shades the separation of code and cont

RE: [htmltmpl] applying post filters to HTML::Template processing?

2003-01-30 Thread Chris Davies
$name ($template->query) { my ($var, @suffices) = split (/_/, $name); # get the real value for this name my $value = lookup ($var, 'DEFAULT'); # apply each suffix process in turn foreach my $suffix (@suffices) {

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

2003-01-17 Thread Chris Davies
e for > displaying data in n columns ? Yes, I have something to share here. I've posted it a couple of times before in response to this same kind of query, so perhaps it's getting to be a FAQ? Oh yes, the link. Look at http://bluedot.net/mail/archive/read.php?f=9&i=

RE: [htmltmpl] HTML Template and Mod_Perl

2003-01-01 Thread Chris Faust
Thanks Sam, and sorry about that... I don't know why I didn't check the FAQ, I think I've been way to excited by the HUGE increase that mod_perl is showing me that I wasn't thinking straight!! Thanks Again -Chris >> -Original Message- >> From: [EM

[htmltmpl] HTML Template and Mod_Perl

2003-01-01 Thread Chris Faust
.pl In my httpd.conf. Is there more that I can do to increase performance? Does it make a difference if I make a H:T handler or not? Any info would be helpful. Thanks -Chris --- This sf.net email is sponsored by:ThinkGe

RE: [htmltmpl] paragraphs, html and TMPL_VAR's

2002-11-22 Thread Chris Davies
ded by underscores, e.g. _like_ _this_, are to mean that those words should be made italic. It handles *bold* too. References: http://www.zipcon.net/~showell/cgi-bin/FolderPiki.py/main%3AWikiFormatti ng http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules Chris -- Chris Davies, Manheim A

RE: [htmltmpl] HTML::Template and SSI

2002-11-10 Thread Chris Faust
Thanks Charles, those are some excellent suggestions - I never thought about using "filter"!! Thanks Again! -Chris >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:html-template-users-admin@;lists.sourceforge.net]On Behalf Of >> Charles K. Cl

[htmltmpl] HTML::Template and SSI

2002-11-07 Thread Chris Faust
tmpl file its never executed by apache (meaning you see the include tag in the source of the page). Is there something else I need to do? Thanks -Chris --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power &a

RE: [htmltmpl] Getting Data from DBI into H::T

2002-09-03 Thread Chris Davies
f you do a search in the mailing list archives for words like "fetchrow" you'll see a plethora of examples and suggestions. Chris -- Chris Davies, Manheim Online Tel. 0113 393-2004 Fax. 0870 444-0482. Mobile 07778 199069 --

Re: [htmltmpl] Dynamic Filters for cached templates forced recall ?

2002-07-11 Thread Chris Newman
July 2002 12:50, Chris Newman wrote: > Hi, > I want to be able to run HTML::Template::JIT or standard cached > HTML::Template with a dynamic filter. I have run a filter which contains a > call to a subroutine which does a remote data retrieval socket GET but it > appears that HTML::

[htmltmpl] Dynamic Filters for cached templates forced recall ?

2002-07-11 Thread Chris Newman
as building something into Apache to scan the delivered pages and re-parse a tag which I'd flag as dynamic but ideally want to be able to use the HTML::Template constructs on the dynamic data. Apologies if I'm missing something obvio

RE: [htmltmpl] (no subject)

2002-06-28 Thread Chris Davies
Duh! Sorry Chris -- Chris Davies, Manheim Online Tel. 0113 393-2004 Fax. 0870 444-0482. Mobile 07778 199069 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Philip S Tellis Sent: Friday, June 28, 2002 10:31 AM To: HTML::Template List Subject: RE

RE: [htmltmpl] (no subject)

2002-06-28 Thread Chris Davies
Presumably you use DBI to get the data from your database. DBI provides an "escape the quotes" operation for strings containing single quotes. You could perhaps use that to process your data prior to giving it to H::T Chris -- Chris Davies, Manheim Online Tel. 0113 393-2004 Fax. 087

RE: [htmltmpl] Nested Loops

2002-06-26 Thread Chris Davies
ficeLocation, EmpNames => \@whatever}; } $thtml->param(OFFICES => \@Offices); Chris -- Chris Davies, Manheim Online Tel. 0113 393-2004 Fax. 0870 444-0482. Mobile 07778 199069 --- This sf.net email is sponsored by: Jabber I

RE: [htmltmpl] TMPL_IF truth vs definition

2002-06-21 Thread Chris Davies
--- --- --- undef undef "" "" 0 1 0 1 1 1 1 1 2 1 2 1 Chris -- Chris D