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
On Mon, Sep 15, 2008 at 9:29 AM, Birgit Kellner
<[EMAIL PROTECTED]> wrote:
> 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
Hi all
Quick survey : what file extensions do you typically use for your TT
templates?
- .tt
- .html
- ???
Bonus question: what file extensions do you use for your YAML files?
- .yaml
- .yml
- .conf
- ???
Some background:
I'm in the process of extending Locale::Maketext:
> Quick survey : what file extensions do you typically use for your TT
> templates?
> - .tt
> - .html
> - ???
Depends on if it is html. Anything that is html I usually use .html. If it
is a small chunk of html of use in an INCLUDE or PROCESS, I'll sometimes use
.tt. But most of the time it
On Mon, Sep 15, 2008 at 05:56:41PM +0200, Clinton Gormley wrote:
> Hi all
>
> Quick survey : what file extensions do you typically use for your TT
> templates?
> - .tt
> - .html
Both, depending on how the template is used.
> Bonus question: what file extensions do you use for your YAML files?
On Mon, Sep 15, 2008 at 8:56 AM, Clinton Gormley <[EMAIL PROTECTED]> wrote:
> Hi all
>
> Quick survey : what file extensions do you typically use for your TT
> templates?
> - .tt
> - .html
> - ???
I usually use .tt2 or sometimes .tmpl (I used to use HTML::Template
before I saw the light)
> Bon
Clinton Gormley wrote:
> Hi all
>
> Quick survey : what file extensions do you typically use for your TT
> templates?
> - .tt
> - .html
> - ???
.tt and .html. We also use no extension, but with an ancestor directory ending
with '-tt'. (ie. templates-tt/my_template or templates-tt/foo/my_templ
On Mon, Sep 15, 2008 at 8:56 AM, Clinton Gormley <[EMAIL PROTECTED]>wrote:
> Hi all
>
> Quick survey : what file extensions do you typically use for your TT
> templates?
> - .tt
> - .html
> - ???
>
I inherited an environment where HTML templates have a single .tt extension,
and other templates
Clinton Gormley wrote:
> Hi all
>
> Quick survey : what file extensions do you typically use for your TT
> templates?
> - .tt
> - .html
> - ???
>
>
I use .tpl., where is the extension of the file to be created
(html, css, js, pl, map, whatever).
Background: this has the advantage to be edi
I mostly use .tmpl, as my original introduction to TT came from
Bugzilla, and that's what they use. Since I use them throughout our
build & deploy process, using the same tool to expand them, I also use
.tt for some, and some have no special extension.
Drew
Clinton Gormley wrote:
> Hi
How about this one.
What extension does TT use as it's default output extension?
Why can't I get server side includes to work?
Is there a way to use TT to create dynamic documents with shtml extension?
On Mon, Sep 15, 2008 at 2:15 PM, Andrew Marold <[EMAIL PROTECTED]> wrote:
> I mostly use .t
11 matches
Mail list logo