[PHPTAL] Variables not found while filling slot

2010-06-24 Thread Per Bernhardt
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

[PHPTAL] Slots - the second...

2010-06-25 Thread Per Bernhardt
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

AW: [PHPTAL] Variables not found while filling slot

2010-06-25 Thread Per Bernhardt
- 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

AW: [PHPTAL] Slots - the second...

2010-06-25 Thread Per Bernhardt
: 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

AW: [PHPTAL] PHPTAL and form macros

2010-08-02 Thread Per Bernhardt
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

AW: AW: [PHPTAL] PHPTAL and form macros

2010-08-02 Thread Per Bernhardt
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

[PHPTAL] Next stable release

2010-09-18 Thread Per Bernhardt
... 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

AW: [PHPTAL] Logical operators in PHPTAL

2010-09-30 Thread Per Bernhardt
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:

AW: [PHPTAL] Re: AW: Logical operators in PHPTAL

2010-10-04 Thread Per Bernhardt
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

AW: [PHPTAL] Minor feature request

2010-11-04 Thread Per Bernhardt
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

AW: AW: [PHPTAL] Minor feature request

2010-11-04 Thread Per Bernhardt
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

[PHPTAL] setting slots in any context

2011-06-20 Thread Per Bernhardt
. 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

Re: [PHPTAL] Proposal: Auto-fill slots with #ids

2011-08-19 Thread Per Bernhardt
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