Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Missing Template handler w/o Admin Access?

Engaged ,
Dec 05, 2008 Dec 05, 2008
I know we can create custom error messages / templates for general processing errors etc, but is there some type of magic template that can be used to show if a CFM file is missing altogether? or maybe an undocumented function to assign it?

I know we can do this inside CF Admin itself (missing template handler), but we don't have access to that on the shared server the client is using.

The standard/custom 404 files only get triggered by non-CFM pages, so we can't use them either.

Any ideas?

Thanks in advance.
328
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 08, 2008 Dec 08, 2008
LATEST
i you are on CF8, it has a onMissingTemplate() method you can use in
your Application.cfc.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources