Publisher is EE6 compatible, but it does not support the Fluid field. 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: Automatic Redirect on Success Not Working

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

Paul Fletcher

Jun 05, 2012

Hello,

First off, thanks so much for such a wonderful plugin—I just purchased it. Forgive me if this is a simple fix, although I’m having issues with automatic redirects on success alerts.

Here’s an image of my CSM settings: http://awesomescreenshot.com/06b79m4bb

Whether the user is sent to “notify/index” or “notify/success-login” I’m unable to get them to be automatically redirected back to where they came from. Am I missing something?

What should I do to fix this?

Thanks so much,
Paul

#1

Paul Fletcher

Jun 05, 2012

Wouldn’t you know, I just fixed it… Just in case anyone’s having similar problems this is what I did. On my redirected success pages I added:

{csm:meta_refresh}

After 4 seconds it redirects flawlessly, yay!

On the “standard” success/error page template I placed this if/else statement. If no errors are found it performs the redirect, otherwise it doesn’t.

{if csm:error == false }{csm:meta_refresh}{/if}

If there is something more I should do to make this more kosher please let me know.

Thanks,
Paul

Login to reply