Am Mittwoch 05 November 2008 schrieb Kornel Lesiński:
> Yes, because path "${ud/id}" is supposed to do exactly that. If ud/id does
> not evaluate to a variable name, then you should use "ud/id".
This means, the same syntax "${x/y}" has different results depending
of its usage in a path: or a str
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 valu
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
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.
--
regards, Kornel
___
PHPTAL mailing list
PHPTAL@lis
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 pars
Hi there,
i have written my own keyword handler for phptal which handles the link:
keyword. This worked quite well for simple links but now i want to build
more complex ones.
I call my handler like this in the simple case:
...
The code in the template is this:
Core_Helper_LinkHelper::getInstanc