ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Login form problem with return parameter on MSM site

November 28, 2011 2:26pm

Subscribe [2]
  • #1 / Nov 28, 2011 2:26pm

    Dragan Simonovic

    71 posts

    I have a website with 6 subsites (sub1.domain.com, etc..) and using

    $config['multi_login_sites']

    to login users on all subsites.

    Users are able to comment entries but first they have to login. But the problem is when user login on entry page, return parameter has been ignored and EE redirect user to root domain (domain.com)

    Why this happen and how to fix it so after login, user is redirected to the entry page.

    Thanks in advance.

  • #2 / Nov 29, 2011 2:38pm

    Dan Decker

    7338 posts

    Hi Vibrant Drive,

    I’m going to do what I can to help you out with this, but first there are a few things you evan do to help me out. Can you tell me what version of ExpressionEngine and MSM you are using? Was this feature working previously and has stopped, perhaps after an upgrade? Also, can you post the template code that is affected so I can try to replicate this?

    Thanks!

  • #3 / Nov 29, 2011 3:38pm

    Dragan Simonovic

    71 posts

    Hi Dan,

    I’m using EE v2.2.2 and MSM Version: 2.1.0 Build: 20110622 and here is the code I’m using:

    {exp:member:login_form return="{site_url}/{segment_1}/{segment_2}#comment-form" id="comment-form"}
    ...
    {/exp:member:login_form}

    I just noticed that I have to update EE and MSM as well so I’ll do that right now and see if that helps.

     

  • #4 / Nov 29, 2011 5:07pm

    Dragan Simonovic

    71 posts

    Just wanted to follow up on this.

    After I updated EE and MSM to the most recent versions, now everything works fine.

    Thanks.

  • #5 / Dec 02, 2011 4:43pm

    Dan Decker

    7338 posts

    Hi Dragan,

    Excellent news! If you need anything from us in the future, just let us know.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases