Not a developer? Go to MovableType.com

Plugin and Theme Directory

Custom Error v0.1

By Byrne Reese
Posted July 2, 2010, in Developer.

Details

The Custom Error plugin for Movable Type and Melody installs a global system template called "Custom System Error" which provides admins with the ability to override the default system error template generated by, well, the system. Duh.

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Setup

To use the plugin, simply install it and run the upgrade process you are prompted with. This will automatically install the error template you can customize.

Usage

Inside the error template, this plugin gives you access to a number of parameters which might be of use to you. All of these paramters can be accessed like any other template variable. For example:

<$mt:var name="error"$>
  • error - the error message generated by the system
  • app_class - the class of the calling application. Values can be:
    • MT::App::CMS
    • MT::App::Comments
  • debug_mode - a boolean value which is true if debug mode is currently enabled

Support

If you have problems using this plugin or need assistance, please visit Endevver's support web site:

http://help.endevver.com/

Compatibility

Movable Type versions: 4.3

License

GPL


Back

Leave a Comment

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese