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
[solved] CMSms internal custom 404 message - no template wrapper?
[solved] CMSms internal custom 404 message - no template wrapper?
Last edited by pomfret on Tue Apr 14, 2009 4:33 pm, edited 1 time in total.
Re: CMSms internal custom 404 message - no template wrapper?
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.
In later versions of CMSMS you can select the template you want to use right below the textarea box for the custom 404 message.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: CMSms internal custom 404 message - no template wrapper?
egads! *facepalm*
Apologies for the utter lack of ability to comprehend the words on my screen sometimes.
Thanks again for the quick response.
Brian
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?
No problem. We all have those moments... I know I have more than I would like to admit.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.