Greetings all.
First of all, I want to say thank you very much for a great CMS. WonderCMS is very fast.
Perhaps someone has encountered how to create a 404 error page, in a different design? Tried this solution https://github.com/WonderCMS/wondercms/ ... t-404-page
But it only allows me to change the content but does not allow me to make the 404 page design different from the other pages.
[SOLVED] 404 error page, in a different design
Re: 404 error page, in a different design
Hello daopower, custom pages template should solve your requirement: https://github.com/WonderCMS/wondercms/ ... e-template.
Re: [SOLVED] 404 error page, in a different design
Good afternoon
Thank you so much for your reply!
Actually this option is also tried already
Created page 404
example.com/404
Created a 404.php file
But only on the page
example.com/404 this design applies
on all other versions of the 404 page.
like
example.com/123-404
example.com/abc404
and other non-existent pages use the standard template
theme.php
I haven't figured out how to get the 404.php template to be applied to all non-existent pages. Are there any possible solutions?![Smile :-)](./images/smilies/icon_e_smile.gif)
Thank you so much for your reply!
Actually this option is also tried already
Created page 404
example.com/404
Created a 404.php file
But only on the page
example.com/404 this design applies
on all other versions of the 404 page.
like
example.com/123-404
example.com/abc404
and other non-existent pages use the standard template
theme.php
I haven't figured out how to get the 404.php template to be applied to all non-existent pages. Are there any possible solutions?
![Smile :-)](./images/smilies/icon_e_smile.gif)
Re: [SOLVED] 404 error page, in a different design
No worries, thanks for getting back with more information.
What you're explaining makes perfect sense and you've actually found a bug. It's only looking for the 404.php template instead of also checking if the response is 404 and then serve the custom 404.php page.
I've opened a GitHub issue and it should be tackled with the next release of WonderCMS.
What an awesome find!
What you're explaining makes perfect sense and you've actually found a bug. It's only looking for the 404.php template instead of also checking if the response is 404 and then serve the custom 404.php page.
I've opened a GitHub issue and it should be tackled with the next release of WonderCMS.
What an awesome find!
Re: [SOLVED] 404 error page, in a different design
Great!
Thanks a lot for the quick response to the question and good support![Smile :-)](./images/smilies/icon_e_smile.gif)
Thanks a lot for the quick response to the question and good support
![Smile :-)](./images/smilies/icon_e_smile.gif)
Re: [GITHUB ISSUE REPORTED] 404 error page, in a different design
Fixed with latest WonderCMS 3.4.2 version. ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)