Hi developers,
what about adding these pages to our next version. It would mean adding some language strings.
Anyhow would be nice to have friendly 404, forbidden, etc pages
svasti
let's add 404 etc pages to the standard dowmload
Re: let's add 404 etc pages to the standard dowmload
+1
Maybe even derived from a template.
Maybe even derived from a template.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: let's add 404 etc pages to the standard dowmload
The core of CMSimple_XH currently only uses the 404 response status (besides, of course, 200)[1], and there is already a extremly flexible hook to catch this. Of course, we could add a language string that will be shown below the Heading "Error 404: Not found" (if no hook is defined).svasti wrote:what about adding these pages to our next version. It would mean adding some language strings.
Anyhow would be nice to have friendly 404, forbidden, etc pages
I'm not sure which other error codes could deserve special pages/language strings. A few might be interesting for some plugins, but these plugins could handle it for themselves.
Catching errors outside of CMSimple_XH (i.e. thrown by the web server), is not generally possible. I'm not sure, if we should introduce a global .htaccess for that purpose.
404 error pages can already be designed as a CMSimple_XH page.Tata wrote:Maybe even derived from a template.
[1] function shead() in cmsimple/functions.php additionally handles 401 and 403, but those are not used anymore by the core, because that makes it slightly harder for bots trying to get admin access by brute force.
Christoph M. Becker – Plugins for CMSimple_XH