0

How can I get the current URI within a Typo3 Neos Page Template?

I tried something like {fed:page.absoluteUrl()}. But this doesn't work.

kieste
  • 513
  • 1
  • 4
  • 19

1 Answers1

1

Use

{neos:uri.node(node: node)} 

instead.

Fx:

<a href="{neos:uri.node(node: node)}">Link Here</a>
Janus Tøndering
  • 914
  • 6
  • 13
  • 1
    If you want the absoluteUrl use the ViewHelper like this: **{neos:uri.node(node: node, absolute: true)}** – Jøran Oct 16 '14 at 07:33