[Neos] How using node links with ViewHelper?

Aske Ertmann aske at moc.net
Sun Feb 8 11:40:10 CET 2015


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