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: Success Message (Email) being seen as an Error Message?

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

Adam Kragt

Jul 19, 2012

Installed Custom System Messages, have “Bypass the message template…” set to Yes, that’s about it (just want to get rid of those messages).

The very first time I set it up, it worked great, got rid of the EE message. From then on, any time I tried to send a message using the exp✉️contact_form, I get an error that said:

No templates defined for the Custom System Messages extension settings, or the defined templates can not be found.


Setting templates for the Submission Error and General Error will get rid of this message, but will then re-direct to the template specified in the Error setting. Adding in the tag to display the message gives “Your message was sent successfully.”

Extensions: Channel Images, Custom System Messages, Low Seg2Cat, Low Variables, Playa, SafeCracker, Snippet Sync, Stash, Store , Wiki

Could it be another extension that uses the same hook? Or is it something else? I’ll post more info once I have it.

Thanks.

#1

BoldMinded (Brian)

Adam, I’m about to head out of town for the weekend (within the next hour). I’ll take a look at this Sunday or Monday night. Sorry for the delay, but I thought I’d at least give you an ETA.

#2

Adam Kragt

Thanks Brian. I updated the original post with a Template vs Output image.

Here’s a code snippet from the form.

{exp:email:contact_form user_recipients="no" recipients="thisisan@email.com" charset="utf-8" form_id="form-contact" form_name="form-contact" form_class="validation" return="/"}
 {form stuffs}
{/exp:email:contact_form}

I made a small adjustment to the code, saved it via the Template Manager and the form went through fine once, but goes back to displaying those messages again after.

#3

BoldMinded (Brian)

Adam, that message you reported, “No templates defined for the Custom System Messages extension settings, or the defined templates can not be found. ” means the settings have not been set correctly. You need to explicitly set the error template for both drop down menus. https://skitch.com/litzinger/eefdb/extension-settings-expressionengine

#4

Adam Kragt

Brian,

While that does indeed get rid of the ‘No templates defined’ message, after submitting the form, specifically after a successful submit, you’ll still be redirected to the error form.

For example, if you fill out the contact form, all info is correct and validates and what-not, the end goal with CSM is to just re-direct to a Thank you template/segment, skipping the EE success message.

What happens is that you instead get re-directed to the error template and the error message is “Your message has been sent”. (See the image I attached to my first post.)

Login to reply