What is difference between new Error Content Type and Custom 404 Handiling?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

What is difference between new Error Content Type and Custom 404 Handiling?

Post by JohnnyB »

Using the new Version 1.6 and wanted to know the best way to manage 404 Errors.  In previous versions, I used the custom 404 management in the Site Admin settings to assign a template and custom text upon 404.

What are the main differences between the new Error Page Content Type and the Custom 404 Handling in ver 1.6?
Is it just the ability to pass Smarty and assign a custom title?

thanks!!
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by klendino »

I was wondering the same thing as I had issues using Custom 404 handling not being able to add new content. (http://forum.cmsmadesimple.org/index.ph ... icseen#new).

Anybody has documentation or guidelines on how to use the new 404 handling feature in 1.6.x

Thanks

Klendino
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by RonnyK »

The content-type Error-page is a regular content-page, and will work alike...

The global settings 404-page is NOT a content-page, and will break i.c.w. the print-icon or search f.e. as they work based on content-pages.

The 404-page from GlobalSettings will be removed in future releases, as the error-page content-type is its replacement.

Doing a search/print action works correct then.

For using this type of content-page, simply create a page, select the errorpage type, and select the 404-type.... Save the page, and it will be the 404-page shown.

Ronny
Last edited by RonnyK on Fri Sep 11, 2009 2:19 pm, edited 1 time in total.
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by klendino »

Great, I'll check it out!

Klendino
geepers
Dev Team Member
Dev Team Member
Posts: 84
Joined: Thu Nov 22, 2007 10:41 pm

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by geepers »

Ronny, what else needs to be configured in order to actually have the error page show up?

does it require an entry in the .htaccess file as well, or something in the config.php file?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by Dr.CSS »

I don't think there are any changes you have to make, if you are having problems it may be that you have the custom 404 checked in the global settings page...
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by RonnyK »

swdmedia,

nothing needs to be setup other then creating the page. You can test the page by opening a page on your site, and just type some additional text behind the address-bar, that will kick the 404-page.

Ronny
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 261
Joined: Tue Jun 12, 2007 1:29 pm

Re: What is difference between new Error Content Type and Custom 404 Handiling?

Post by Franck »

why content-type error-page (and also the custom 404) doesn't show the menu when used with one of the templates of the site ? wouldn't it be useful ?
Post Reply

Return to “CMSMS Core”