[TYPO3-50-general] [TYPO3-team-core-v5] Templating Engine

Bastian Waidelich bastian at typo3.org
Mon Oct 27 10:13:12 CET 2008


Sebastian KurfŸürst wrote:

> {f3:for(each="...")}
> 
> {/f3:for}
> does NOT work (as there is no closing-tag-syntax for {}.

A small addition to that:
all view helpers are accessible from both syntaxes. a loop could look 
something like this in the non-tag-notation:

{f3:for(each="{posts}", as="post", "{post.title}")}

Where the "unnamed" parameter (it probably has to be the last parameter 
too) is the subject of the view helper.

keep up.
Bastian


More information about the TYPO3-project-5_0-general mailing list