mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal
--
webfactory GmbH
Per Bernhardt, Anwendungsentwickler
Lessingstraße 60
53113 Bonn
Germany
Fon +49 228 9114455
Fax +49 228 9114499
www.webfactory.de
p...@webfactory.de
Geschäftsführer: Sebastian
.
Could somebody explain what the comment works around a bug with tal:define
means?
Cheers,
Per
P.S.: My suggested patch is of course to strip the last four lines of the
method... I am currently using a version patched like this and it works without
any hassle...
--
webfactory GmbH
Per
Hey, use
tal:block tal:replace=
lots of html here
/tal:block
The documentation suggests this for creating samples in the templates...
http://phptal.org/manual/en/split/tal-replace.html
Kind regards,
Per
-Ursprüngliche Nachricht-
Von: phptal-boun...@lists.motion-twin.com
would instead show it, causing a rather embarrassing
few minutes ;)
On Nov 4, 2010 4:49 PM, Per Bernhardt p...@webfactory.de wrote:
Hey, use
tal:block tal:replace=
lots of html here
/tal:block
The documentation suggests this for creating samples in the templates...
http://phptal.org
I want my templates to be as simple as possible.
They should not include any logic at all. So I never use php-modifier and I
would also like to avoid some kind of AND or OR logical operators (although
there are the smaller problem...).
But a template needs what I call state. The simplest
I would love to see this feature, too!
Was it no positive feedback or no feedback at all?
Do you think it is hard to implement? Does it break backwards compatibility?
I would be willing to help with the implementation...
Per
Von:
...
Thanks for any reply.
Per
--
webfactory GmbH
Per Bernhardt, Anwendungsentwickler
Lessingstraße 60
53113 Bonn
Germany
Fon +49 228 9114455
Fax +49 228 9114499
www.webfactory.de
p...@webfactory.de
Geschäftsführer: Sebastian Kugler, Matthias Pigulla
Handelsregister: HRB 8673, Amtsgericht Bonn
Hi,
Speaking in terms of MVC your $fields array is a model of a form. It is
indeed a model that relatively closely describes, what you want to output in
html, but nevertheless it is a model.
So what you want to do is to iterate over this model and render it:
form
div tal:repeat=field
Attribute Language for PHP
Betreff: Re: AW: [PHPTAL] PHPTAL and form macros
Per,
That's a great help.
Yes, the model is massively simplified, but I figured it was better to explain
what I was getting at... I take your point about ugliness!
On 2 Aug 2010, at 20:20, Per Bernhardt wrote:
So
slots in any context probably not only violates TAL but
overwrites equal slots in ancestor contexts :)
Kind regards,
Per
--
webfactory GmbH
Per Bernhardt, Anwendungsentwickler
Lessingstraße 60
53113 Bonn
Germany
Fon +49 228 9114455
Fax +49 228 9114499
www.webfactory.de
p...@webfactory.de
-
Von: phptal-boun...@lists.motion-twin.com
[mailto:phptal-boun...@lists.motion-twin.com] Im Auftrag von Kornel Lesinski
Gesendet: Freitag, 25. Juni 2010 12:07
An: Template Attribute Language for PHP
Betreff: Re: [PHPTAL] Variables not found while filling slot
On 24-06-2010 at 18:55:31 Per
: Re: [PHPTAL] Slots - the second...
On 25-06-2010 at 09:57:12 Per Bernhardt p...@webfactory.de wrote:
Thanks. That's a great example. I've turned it into a test case - and it passes
in the SVN version, but it may be just because the test is short.
There's optimisation that turns large slot
GmbH
Per Bernhardt, Anwendungsentwickler
Lessingstraße 60
53113 Bonn
Germany
Fon +49 228 9114455
Fax +49 228 9114499
www.webfactory.de
p...@webfactory.de
Geschäftsführer: Sebastian Kugler, Matthias Pigulla
Handelsregister: HRB 8673, Amtsgericht Bonn
13 matches
Mail list logo