if i wanted to distinguish the rending in backend and in frontend. For example i’ve wrote a NodeType for which i deactivated the setting of the URL in the backend. So that you can not accidentially click on the URL and navigate away from the backend. In frontend the URL got rendered fine.
But since we are now on Neos 5.1.5, this method seems not to work anymore and all my URLs are equally rendered in backend and in frontend, like without any clickable link
Is there a new method/renamed method or is it maybe deprecated?
I get “BACKEND” in Backend and “FRONTEND” in the frontend.
Are you sure that you are really editing a template that is used? Using Fluid is discouraged in favor of Fusion templates and with 5+ some of the base templates were replaced.
With Fusion you could achieve a similar behavior with node.context.inBackend, for example: