Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Redirect to the defined error template not working

Status Resolved
Add-on / Version Custom System Messages
Severity Trivial
EE Version

Jon Wright Design

Jun 02, 2012

When I select the option to redirect to the defined error template, rather than render the template ate the root of the site, none of the variables display, I just get the {title} and {contents} tags rather than the error message.

It’s the first time I’ve used this feature, so am I meant to do something else to the template to make it work?

#1

BoldMinded (Brian)

Jun 04, 2012

Hi Jon. When you select that option it shouldn’t try to render anything at the root of the site, it should go to a template_group/template. Is that not happening? Can you send a URL so I can see this happen? You can email it to litzinger at gmail if you don’t want to post a URL here.

#2

Paul Fletcher

Jun 05, 2012

Hi Jon, I had a similar issue. The solution that worked for me was to use the fallback aliases that were mentioned in the documentation.

Documentation:
There are also aliases for for each variable that are parsed early, thus they can be used in conditional statements and other template tags. Each variable above has an alias prefixed with csm:. For example {content} is also available with {csm:content}. If you are having trouble with the original variables, try the aliases.

Hope this helps,
Paul

#3

Jon Wright Design

Jun 06, 2012

Thanks for the replies guys.

Paul, I just tried out the aliases method and it worked a treat! Thanks for the help.

Login to reply