Wouldn't it make more sense to turn your define-slot's into use-macro
instead? ;-)


On 2/6/09, kaaposc <kaap...@gmail.com> wrote:
> Hello!
>
> Is there any way to define slots on the fly? Like this:
> <tal:block repeat="item list" metal:define-slot="sl_${item/name}" />
>
> Currently looks like PHPTAL takes slot name as string without trying to
> parse. And of course PHP complaints about not finding such a variable
> "item/name"..
>
>
> Thanks,
> kaaposc
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>


-- 
--
Tjerk

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to