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
>
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
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
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
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
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
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.
--
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
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
---
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
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
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
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
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
e params and values
that were/are in $content.
I know that wouldn't work, just hoping it would
help explain.
Thanks
-Chris
::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
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
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
>
>
&
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
; 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:
> >
> >
&
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
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:
:
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
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
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
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
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
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
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
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
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
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
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
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
---
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
$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) {
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=
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
.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
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
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
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
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
--
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::
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
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
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
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
--- --- ---
undef undef "" ""
0 1 0 1
1 1 1 1
2 1 2 1
Chris
--
Chris D
49 matches
Mail list logo