I updated Neos to the newest Version and everything works fine, beside of the page layout.
I changed everything like described (changed the Prototypes in the root.fusion and so on), but only the layout selection don’t work.
I made it similar to the Neos.Demo but still nothing changed. There’s no exception, nothing.
So I don’t know what to do now, so I hope anyone here can help me.
This will make it work as before. However, we recommend not to use “renderPath” - instead, you should rely on prototype-based rendering (basically use “type” instead of “renderPath”) as documented here.
Yes, I’m using NodeTypes.
Ah okay I didn’t saw that, thank you.
What does this exactly mean for me?
I have to move the selection from Neos.Neos to Neos.NodeTypes and what else?
Maybe this is not the problem here but I had a problem because I was still using .ts2 as file extension for the Fusion files. After I changed that to .fusion it worked again
Hey @bladegh
If you’re using Neos.NodeTypes, then this refactoring should not be the reason for the behavior you’re experiencing. Therefore you don’t need to change anything (at least not because of this change). Let’s look at your Layout switching code again: