Try using valid PHP (->, not . for instance member access).

-----Original Message-----
From: phptal-boun...@lists.motion-twin.com 
[mailto:phptal-boun...@lists.motion-twin.com] On Behalf Of Darrell Hamilton
Sent: Monday, August 01, 2011 12:20 PM
To: Template Attribute Language for PHP
Subject: Re: [PHPTAL] Object causing a parse error

Fairly sure you just need to drop the `$'

See: http://phptal.org/manual/en/#tales-php

Darrell Hamilton,
Software Developer,
4over, Inc
darre...@4over.com
818-246-1170 ext. 285



On Mon, Aug 1, 2011 at 9:53 AM, Levi Stanley <l...@eneservices.com> wrote:
> <p>Last login ${php: $time.timeFromNow($item.getCreated())}</p>
>
> Message:<br /> <b>Parse error</b>: syntax error, unexpected T_STRING in
> <b>/usr/share/php/PHPTAL.php(845) :
> /www/sites/[domain-was-here]/application/../tal/cache/tpl_4e3629a0_users__4qOO_B2LvUN4WCVHcqjFgQ.php</b>
> on line <b>40</b><br />
>
> Best regards,
> Levi Stanley
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>

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

Reply via email to