We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 727
    • 502 Posts
    I have a login web page, ID = 3, that contains:

    [!WebLogin?loginhomeid=`4`&logouthomeid=`3`!]


    I then have a user home page, ID = 4, that contains:

    [[Personalize?message=`Welcome back `]] | [!WebLogin?loginhomeid=`4`&logouthomeid=`3`!]


    When I enter the username and password into the login page there is a double page load. First the current page is reloaded, but replacing the login form with "Logout", and then page ID 4 is loaded.

    When I click on logout on the user home page there is again a double page load. First the current page is reloaded, but replacing the "logout" text with the login form, and then page ID 3 is loaded.

    How can I stop this from happening? It looks confusing to users. Thanks!

    Andy
      • 727
      • 502 Posts
      Is no one else having this problem?

      Andy
        • 32982
        • 674 Posts
        i made a plugin to solve it here are
        http://modxcms.com/forums/index.php/topic,4956.0.html
        hi
          Jabiertxof (formerly XYZVISUAL)
          My bussines: http://marker.es
          https://www.youtube.com/user/jabiertxof/videos
          • 727
          • 502 Posts
          Your idea works! It would be great however if the Web user login system solved this because it renders the redirect ids in the snipper calls redundant.

          Andy