performance issues. isn't it possible to write functions (BLOCK) and
WRAPPERs ?
regards
--
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
___
templates mailing list
templates@template-toolkit.org
http
On Thu, Nov 26, 2009 at 04:01:16PM +0200, Octavian Râsnita wrote:
No I don't generate templates dynamicly, but if I put just simple html
code in the database
You store things it database, that's why! i got it now and it makes
sense.
regards
--
Marc Chantreux
BibLibre, expert en logiciels
Sean,
On Tue, Jul 29, 2008 at 12:13:03AM +0200, Marc Chantreux wrote:
hello Sean,
I'm afraid it does the same ...
I was afraid for nothing: it works fine. Additionnaly, it is very simple
to add methods using Template::Plugin::VMethods.
many thanks for help
regards
--
Marc Chantreux
that if notice isa('MARC::Record'), TT2 uses
MARC::Record::field by defaut ?
regards
--
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
___
templates mailing list
templates@template-toolkit.org
http://mail.template
as
[% notice.field('99'); %]
--
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
___
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates
hello Sean,
I'm afraid it does the same ...
On Mon, Jul 28, 2008 at 11:26:05AM -0700, Sean McAfee wrote:
sub Foo::field { $_[1] }
$Template::Stash::HASH_OPS-{foo} = sub { shift-field(@_) };
Template-new-process(\[% x.foo(42) %], { x = bless({ }, 'Foo' });
--
Marc Chantreux
BibLibre, expert
--
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
Index: bin/tpage
===
--- bin/tpage (révision 1112)
+++ bin/tpage (copie de travail)
@@ -109,6 +109,7 @@
'template_tag_style|tag_style