-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds default content for 403 and 404 pages #699
Conversation
Hi @markconroy thanks for this - was on my long list. How does a content designer set 403 and 404 pages please, and can I see our default? |
Within the CMS, you can create a node and then set that node as your 403 or 404 page. You can see in this screenshot, I have chosen /node/1 as my 404 page and left 403 page blank. This means the 403 page will use our hardcoded template and the 404 page will use whatever content is in Node 1. Here's our (new) defaults when using the updated templates. |
Thanks Mark, where's the error page setting please? Is it possible to make a couple of minor changes to the default text? On the 404, remove the last sentence "The requested page could not be found." On the 403, again remove the last sentence " You are not authorized to access this page." In both cases the wording above is friendlier and better |
Page setting is at: /admin/config/system/site-information I'll get the default items removed. |
@markconroy I've made a small change to address the php static analysis checks: 5afeb30 I tested before and after and the functionality works as outlined for me. Could you just confirm that change looks good to you? Cheers, Finn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as detailed and tests are passing now :)
Thanks @markconroy
Closes #698
What does this change?
How to test