[Neos] Getting link path from reference property

Aske Ertmann aske at moc.net
Tue Jan 6 12:26:59 CET 2015


Hi Tina

In case you’re using Neos 1.2 you should probably use the LinkEditor for creating links instead of the reference type. Unless you know it will always be a link to a node, then it might make sense to use the reference type.

/Aske

> On 06 Jan 2015, at 10:39, Tina Eckhorst <t.eckhorst at magent.de> wrote:
> 
> Hi,
> 
> in the NodeTypes.yaml file I defined a link property:
> terminLink:
> type: reference
> ui:
>   label: 'Link'
> 
> How do I get the correct relative path in the template?
> When I tried {terminLink.path} the output in the template is "/sites/sitename/info/leistungen" but it should be "/info/leistungen.html".
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list