Page 1 of 1

[solved] CMSms internal custom 404 message - no template wrapper?

Posted: Tue Apr 14, 2009 4:01 pm
by pomfret
Is the normal behavior of the CMSms internal "Custom 404 Error Message" to return said content without a template wrapper?

After taking care of external 404 redirects via my htaccess to a custom CMSms page, I enabled the above feature.  Now, when CMSms tries to handle an internal 404, all that's returned to the browser is the content of said message box as entered via the admin.  There's no template wrapper around this content.

If this is the intended behavior, does anyone have an idea of how I can use my custom 404 page in place of the message?  I managed to use cgSimpleSmarty to pull the content of my custom 404 page into the 404 message block, but it's less than an optimal solution seeing as it's not a valid html document.

Thanks,

Brian

Re: CMSms internal custom 404 message - no template wrapper?

Posted: Tue Apr 14, 2009 4:16 pm
by tyman00
Which version of CMSMS are you running?

In later versions of CMSMS you can select the template you want to use right below the textarea box for the custom 404 message.

Re: CMSms internal custom 404 message - no template wrapper?

Posted: Tue Apr 14, 2009 4:33 pm
by pomfret
egads! *facepalm*

Apologies for the utter lack of ability to comprehend the words on my screen sometimes.

Thanks again for the quick response.

Brian

Re: [solved] CMSms internal custom 404 message - no template wrapper?

Posted: Tue Apr 14, 2009 5:22 pm
by tyman00
No problem. We all have those moments... I know I have more than I would like to admit.