Favorites Documentation

Custom Error Page

The Error Page function allows you to bypass the native EE error message template and create and customize your own. Simply create a new EE template and add in the applicable variables below, along with anything else you typically use in your templates (template tags, variables, or embeds). This function is available for all use in all form functions such as Favorites:Form. Make sure you specify the error_page="path_to/error_template" parameter in the form you'd like to use this error template.

Variables

The following variables are available for use:

content

{content}

This variable outputs the error(s) that occurred.

heading

{heading}

This variable outputs the heading error type for the error(s) that occured.

link

{link}

This variable outputs the Return to Previous Page back button link.

title

{title}

This variable outputs the title for the error page.

Examples

The following example code will output a complete Error page:

<h2>{title}</h2>
<h3>{heading}</h3>
<p>{content}</p>
<p>{link}</p>

Support

Having problems setting up and/or using Favorites? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.