Open playcock opened 3 weeks ago
@jalcantaras I assigned this to you for mockup design.
Here is a concept simple and it will be cool if the user click on the link to create a ticket that automatically grabs the URL that has the 404
@jalcantaras I like the idea behind the link. Nice.
@jduncan-sbb We should share with Rich to gain design approval.
@jalcantaras Your mockup has been approved by Rich.
@playcock So after doing research if we want to do a 404 or 500 we can setup the redirects on .htacess on cp and dolibarr. Unless Backend devs and engineers have a better option.
One option is:
https://stackoverflow.com/questions/19962787/rewrite-url-after-redirecting-404-error-htaccess
I still need to create a simple module to create the custom page. HTML and CSS is done on code but still need to have a place on dolibarr the screenshot below was me playing with the new code inserted in inspector. Still need to do css for the dark theme module.
500 error page would be nice too.
This is what I on my sandbox htacess for Central Office.
RewriteEngine on
ErrorDocument 404 /co/404.php
Feature Request
Would we be interested in a proper 404 page in Central Office and/or Centralpoint? It might be beneficial in CP as we retire pages there and bring them into CO.
Use case
This is what I see in CO when a page does not exist:
This is what I see in CP when a page does not exist:
Suggested implementation
GitHub and other websites have 404 pages. Why not create our own? We can customize it too. GitHub's 404 page looks like this:
Suggested steps
No response