Custom Error Page

From KickApps Documentation

Jump to: navigation, search

Description

This code snippet will allow you to create a custom "We're sorry, we've encountered an error" page.

Code

Ka.events.listen("global-error-page", function(){
        // modify something on the page using JS
});

Usage

Include this script in the footer of your Global Page Template. Below the commented line, use jQuery to insert a custom message to appear on your global error page.