[Neos] navigation title and navigation label

Aske Ertmann aske at moc.net
Sat Nov 30 17:48:00 CET 2013


You can probably use {f:if(condition: item.node.properties.navigationLabel, then: item.node.properties.navigationLabel, else: item.node.properties.title)}

On Nov 28, 2013, at 12:59 AM, Dominic Garms <djgarms at gmail.com> wrote:

> Hi,
> 
> thanks it works exactly like this. Is there a ViewHelper existing for string fallbacks? Or do I need to handle the label fallback for empty fields with if clauses? Is something like the former typoscript "nav_title / title" existing in fluid?
> 
> Cheers,
> Dominic
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list