[TYPO3-50-general] RFC: Improved Shorthand Syntax
Jochen Rau
jochen.rau at typoplanet.de
Wed Oct 21 00:37:27 CEST 2009
Hi all,
Sebastian Kurfürst wrote:
>> But, that's what I'd expect anyways.. It would be similar if crop() and
>> nl2br would be methods of the object:
> Great :-) I feel the same (and I also feel that -> is better than |)
+1 on {post.title->f:format.crop(maxChars: 30)->f:format.nl2br()}
as it has the right semantics for template designer (from left to
right). The pipe has no meaning for this group. Maybe we can use
{post.title --> f:format.crop(maxChars:30) --> f:format.nl2br()}
to appease the techies ;-)
> I just wanted to give some alternative possibilities and see if some
> people like it more. But as I see it now, we can use ->.
>
> What do you think - beta2 is released tomorrow I think, should we still
> include it?
Yes, sure.
Regards
Jochen
--
Every nit picked is a bug fixed
More information about the TYPO3-project-5_0-general
mailing list