[Neos] How using node links with ViewHelper?

Arno Dudek webmaster at adgrafik.at
Sun Feb 8 12:26:04 CET 2015


OK, that was it, but that this will work in backend the following is 
required:

prototype(TYPO3.Neos.NodeTypes:Headline) {
    title. at process.convertUris = TYPO3.Neos:ConvertUris {
        forceConversion = true
    }
}

"If the workspace of the current node context is not live, no 
replacement will be done unless forceConversion is set. This is needed 
to show the editable links with metadata in the content module."

Thanks!


Am 08.02.15 um 11:40 schrieb Aske Ertmann:
> Hi Arno
>
> You need to convert the link into a proper link using the ConvertUris TypoScript processor.
>
> Here’s an example of how it’s done for the Headline element.
>
> # Headline TS Object
> prototype(TYPO3.Neos.NodeTypes:Headline) {
>     title. at process.convertUris = TYPO3.Neos:ConvertUris
> }
>
> Hope that helps.
>
> Cheers,
> Aske
>
>> On 07 Feb 2015, at 14:08, Arno Dudek <webmaster at adgrafik.at> wrote:
>>
>> Hi!
>>
>> The LinkEditor save the result into the value like this:
>>
>> node://42065342-7f2e-e8a3-c1f4-4624abe77991
>>
>> How can I use this with a ViewHelper to get the correct link?
>> As far as I understand it the VH "neos:link.node" accepts only objects or a path.
>>
>> Now when I use this in this way:
>>
>> <neos:link.node node="{item.linkUrl}">
>>
>> The rendering result will be again
>>
>> node://42065342-7f2e-e8a3-c1f4-4624abe77991
>>
>> Ist this the wrong VH I'm using?
>>
>> lg arno
>> _______________________________________________
>> Neos mailing list
>> Neos at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>



More information about the Neos mailing list