tile->new;
$text->charset('utf-8');
$tect->process($text_to_process);
- everything is fine, too, so I suspect there is some error in the way
the textile filter handles character sets in my setup.
I'd appreciate any help on this,
best regards,
Birgit Kellner
_
t using different page
templates for individual langauges - after all, it's the content that
varies, while the layout remains the same, so why use different
templates and make maintenance more difficult?
Hope this is useful,
best regards,
Birgit Kellner
_
able values as literals
<% set printed_lastname = g.firstname g.lastname %># produces syntax error
Thanks in advance,
Birgit Kellner
___
templates mailing list
templates@template-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/templates
Thomas, Mark - BLS CTR wrote:
Maybe
<% set printed_name = g.firstname _ g.lastname %>
- Mark.
Brilliant! Thanks, this works perfectly,
Birgit
___
templates mailing list
templates@template-toolkit.org
http://lists.template-toolkit.org/mailma
Jason Gottshall wrote:
I'd go with Mark's simple concatenation, but just to be thorough, it
should be noted that you can interpolate vars in a string using
double-quotes and a dollar sign, with added curly braces to clearly
delineate references:
<% set printed_lastname = "${g.firstname} ${g.las
rr("no template dir");
Can the options INCLUDE_PATH and TAG_STYLE also be used with
Template::Multilingual? The first seems to be recognised because the
module does actually process the template, but what about TAG_STYLE?
Thank you in advance,
Birgit Kellner
__
Eric Cholet wrote:
Birgit, for your information I just uploaded Template::Multilingual
0.06 to CPAN, this version supports TAG_STYLE. Thanks for pointing
out this shortcoming.
Enjoy,
--
Eric Cholet
Any view of things that is not strange is false
Eric,
thanks a lot! TAG_STYLE was indeed
the Template module throws an error:
file error - parse error - pub_author.tmpl line 3: unexpected token
(LAST) [% if not loop.last %].
The same error is thrown by "unless loop.last".
Can someone please explain this to me?
Thank you, and best regards,
Birgit Kellner
_
Randal L. Schwartz schrieb:
"Birgit" == Birgit Kellner <[EMAIL PROTECTED]> writes:
Birgit> Hi,
Birgit> I'm looping through an array of hashes with "foreach" and have problems
using
Birgit> "loop.last":
Birgit>
Just adding information to a very, very old thread from June 2006 that I
now finally (!) got round to address:
Darren Chamberlain wrote:
* Robert Hicks <[EMAIL PROTECTED]> [2006/06/11 19:38]:
What about making an alias? loop.final?
That seems like a good idea. :-)
It shoul
Hi,
in an older version of the Template Toolkit (we just updated our server
to 2.19), using <% if loop.last %> threw an error that could be solved
through a hack in Iterator.pm, sub AUTOLOAD:
$item = 'LAST' if $item eq 'loop_final';
This hack no longer works, and <%if loop.last %> still throws
11 matches
Mail list logo