User Documentation

Custom Error Page

The Custom Error Page allows you to bypass the native EE error message template and create and customize your own. This function is available for all User form functions such as User:Edit, User:Register, etc. Make sure you specify the error_page="user/error_template" parameter in the User form functions 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 occurred.

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 User? 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.