Re: [PHPTAL] my own keyword handler

2008-11-05 Thread Kornel Lesiński
On 04-11-2008 at 18:45:10 Christian Welzel [EMAIL PROTECTED] wrote: Now it generates this: Core_Helper_LinkHelper::getInstance()-createUrl('folder',array('goto'=$ctx-{phptal_path($ctx-ud, 'id')},)) what leads to the runtime error: Unable to find path 0 in current scope. 0 is the value of

Re: [PHPTAL] my own keyword handler

2008-11-04 Thread Kornel Lesiński
On 03-11-2008 at 23:36:55 Christian Welzel [EMAIL PROTECTED] wrote: But phptal_tales() seems not to be the right function as it generates the line as this: Core_Helper_LinkHelper::getInstance()-createUrl('folder',array('goto'=$ctx-'.phptal_path($ctx-ud , 'id').',)) which ends in a parser

Re: [PHPTAL] my own keyword handler

2008-11-04 Thread Christian Welzel
Am Dienstag 04 November 2008 schrieb Kornel Lesiński: On 03-11-2008 at 23:36:55 Christian Welzel [EMAIL PROTECTED] wrote: I've improved parsing of interpolated TALES paths. Please check SVN version of PHPTAL and see if that resolves your problem. Ok, now the template compiles fine but it does