Re: [PHPTAL] PHPTAL and form macros

2010-08-24 Thread Peter Niederlag
Hello, Am 23.08.2010 23:12, schrieb romtek: For me, the biggest benefit of using PHPTAL is being able to view the code in WYSIWYG programs. Having a template system in which there are many macros calling each other on several levels defeats this purpose. I think that in some cases using pure PHP

Re: [PHPTAL] Hello, and PHPTAL probelm with UTF-8

2010-08-31 Thread Peter Niederlag
Hello Robert, Am 31.08.2010 11:54, schrieb Robert Partyka: Hello, [...] someone know ansver what can be wrong? Maybe its something with configuration of PHP? PHP version - PHP 5.2.12 1. Are you very sure the file is utf-8 encoded? 2. IIRC some combination of PHP and/or libxml had strange

Re: [PHPTAL] Use of ${} vs tal attributes

2009-12-09 Thread Peter Niederlag
Hello Kornel, Kornel Lesiński schrieb: > On 08-12-2009 at 21:05:20 Tjerk Meesters wrote: > >> Also, errors will be silently ignored by default if you use ${}. >> Changing it to tal:content, for instance, without an alternative >> (using pipe syntax) would throw a template exception if the used >

[PHPTAL] macros in external files

2010-01-15 Thread Peter Niederlag
Hello, I want to explore the possibilities of macros. Using a metal:define-macro INSIDE my template works as expected. However I fail to use a macro defined in another file. Trying to access the same macro from another template by 'metal:use-macro="file.xhtml/mymacro"' unfortunatly fails. :-< I

Re: [PHPTAL] macros in external files

2010-01-15 Thread Peter Niederlag
Hello, Kornel Lesiński schrieb: > On 15-01-2010 at 16:07:45 Peter Niederlag wrote: [...] > You can't simply call entire file as macro. I know. ;) Whatever I messed up (editing the wrong file/..?), suddenly everything is working like a charme. :-> Thx for your quick response