Hello, I've just setup a 404 page for our DNN Website. The page is setup to be viewable by All Users. I've also setup a voluntarily broken link in a page for testing purposes. When I click my broken test link, I get correctly redirected to the 404 page, but the page looks like I'm disconnected. For example, the User.ascx Theme Object is loaded in all the Layout Templates of our website. The 404 page uses one ot those Layout Templates, but when I access it through a broken link, User.ascx stops displaying my user name. When I access the page through the Admin > Pages menu, it works just fine. Same with other Theme Objects. Login.ascx doesn't even dispay anything. It usually displays "Login" or "Disconnect". Now it's just white space. Does anyone know who to solve this issue? Thank you
That is by design.
Because the 404 page can be called a lot, the page does as little processing as possible to prevent the system from getting overflooded.
It does behave like a normal page when you visit the page itself, but as soon as it serves a 404 page, it's pretty empty. There is no way around this AFAIK.
Posted By Daniel Valadas on 7/19/2024 1:05 AM But the good news is you can change that by passing ShowInErrorPage="true" on those skinObjects in your theme
Ah, thanks I did not know that TBH.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.