[Neos] navigation title and navigation label

Dominic Garms djgarms at gmail.com
Mon Dec 2 05:48:43 CET 2013


On 12/01/2013 12:48 AM, Aske Ertmann wrote:
> 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
>
Hi Aske,

this would be limited to one fallback string. With former typoscript it 
was possible to add as many fallback strings. Maybe I'll just write a 
little ViewHelper by myself to handle this.

Or the property "label" out of the PHP Controller should get 
configurable via TS2. If the new beta is out I'll try a patch for this.

Cheers,
Dominic


More information about the Neos mailing list