[solved] CMSms internal custom 404 message - no template wrapper?
Posted: Tue Apr 14, 2009 4:01 pm
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
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