[Neos] Link to root page

sim_co sim_co at gazeta.pl
Thu Jan 29 23:02:47 CET 2015


Hi,

I just started my adventure with TYPO3 NEOS.
I'm trying to link an image to root (home) page.

Finally I have done it, but is there simpler solution?

Root.ts2:

..
      homeLink = ${q(node).parents().last().property('_path')}

Default.html

<neos:link.node node="{parts.homeLink -> f:format.raw()}"> IMAGE </neos:link.node>



More information about the Neos mailing list