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: Requires Member Login page to be define despite return being set as current_url

Status Resolved
Add-on / Version Custom System Messages 2.5
Severity Critical
EE Version 2.8.0

Chris McArdle

Feb 12, 2015

Hi there,

I have sections in my site that are to be seen only by those that are logged in. If they are not, they are showing a link that causes a popup that contains the members:login_form and the return option is set as return=”{current_url}” so once they pass they see the same page, only with the content now available.

Without custom system messages installed, this works fine, I see the form, I login successfully, I see the default message stating I am not logged in, and it returns to the page.

With custom system messages I was hoping for the above minus the default message. However, when I attempt to login I receive the following error.
-The following errors were encountered
    - No template defined for the Custom System Messages extension settings, or the defined templates can not be found.

In the CMS, I have removed the (14) Member Login template option as their is no specific template that it is meant to go to, it is meant to return the current page which could be any one of a dozen pages.

Am I missing an option, or must a single template be selected else the plugin is broken?


Thanks for you time.

#1

BoldMinded (Brian)

Chris, you need to make sure there is a default template selected in the several drop downs of the settings. All drop downs need a template defined, not just the bottom overrides.

#2

Chris McArdle

Hi, thanks for the quick reply,

So since a default template must be selected/created the return=”{current_url}” will never work. I suppose I could pass the url as either a hidden value or something and on the specified template the form brings me to just set up a redirect.

Thanks again for your time.

#3

BoldMinded (Brian)

The default template is just used as the last resort. Its a catch all for all actions, the drop downs at the bottom of the settings page lets you use a template for a specific action.

Login to reply