I have another question connected to my previous javascript routing questions.
I am wondering if it is possible to get a page to render as its (grand)parent but maintain the same url. The “Catch all” solution given by @patric.forsgard worked great, but the last piece needed is one scenario where I actually have “data”-pages which URL should be used, but if they get a visit they should render as the grand parent and let javascript routing handle the page.
I’ve tried letting the child grab the parent and rendering with parentcontroller and parent data and making updates to the PageRequestData.Current
but I assume that change is “too late” in the process since I’m not getting the correct page in CurrentState.Current.PageID
Another solution would be to move the data-pages and then the catch-all would pick up, but since it’s a page that have been live for years, I’d rather not move around that much pages unless its the only solution.
Hope the question makes sense…
Litium version: 6.3.7