2010/9/30 Ionuţ Matei
> Thanks!
>
> I didn't thought that "?:" can be used in "php:".
>
If you haven't studied PHPTAL's manual thoroughly, I recommend that you do.
E.g., see http://phptal.org/manual/en/#tal-attributes.
___
PHPTAL mailing list
PHPTAL@li
Thanks!
I didn't thought that "?:" can be used in "php:".
2010/9/30 Kornel Lesiński :
> On 30 Sep 2010, at 10:01, Ionut Matei wrote:
>
>> Hello,
>>
>> I want the 'href' attribute to be skipped if $item['route'] is empty:
>>
>>
>>
>> the manual says attributes can be skipped with " | nothing", bu
On 30 Sep 2010, at 10:01, Ionut Matei wrote:
> Hello,
>
> I want the 'href' attribute to be skipped if $item['route'] is empty:
>
>
>
> the manual says attributes can be skipped with " | nothing", but this
> is based on the attribute's value.
With php: modifier NULL also works:
tal:attribut
Hello,
I want the 'href' attribute to be skipped if $item['route'] is empty:
the manual says attributes can be skipped with " | nothing", but this
is based on the attribute's value.
Thanks!
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http: