Search code examples
typo3typoscriptfluid

Create a link in backend to a frontend page


I would link to create a link to a frontend page inside a backend module. Using:

<f:link.page pageUid="40" >Link</f:link.page>

Doesn't work. It generates a link to the current backend module.

Any solution ?


Solution

  • This is a very long story but the gist is: it is not possible to create FE links in BE/CLI context without a lot of workarounds and dummy objects/values.

    If possible you should use solutions like pagepath which generate URLs for an eID script which performs the actual URL generation on demand.