We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1329
    • 15 Posts
    When I change the "redirectToPrior" property of the Login Snippet to "Yes" it stops the Logout from functioning, but it does redirect to the prior page. If this value is set to "No" the Login and Logout work correctly.

    I also noticed, when I change the "redirectToPrior" value to "Yes" the "tplType" and "errTplType", which normally have a value of "modChunk", change to "True". When I click on the value selector under these items I am able to select "Chunk." Later the value resets to "modChunk."

    Concerning the "redirectToPrior", is this a bug or do I need to set something else?

    I am using MODx Revolution 2.0.0-rc-2 rev6923 and Login 1.0.1.
      • 28215
      • 4,149 Posts
      Please file it as a bug here: http://github.com/splittingred/Login/issues
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 8109
        • 128 Posts
        This bug is not fixed as of 1.5.2, and I’ve filed a bug report.

        To reiterate, the redirectToPrior option does not work AND causes logout to fail.
          Revo 2.0.8-pl
          • 36525
          • 47 Posts
          Has redirectToPrior been fixed?
            Robert Tobys
            Managing Partner
            Green Goat Media
            916.405.1279

            Skype: roberttobys
            • 3749
            • 24,544 Posts
            Are you using this in the snippet tag? It has worked for me:

            &redirectToPrior=`1`



            ---------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using . . .
            MODX info for everyone: http://bobsguides.com/modx.html
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 36525
              • 47 Posts
              It works, but then the ability to Logout does not functions. Seems like it's looping.
                Robert Tobys
                Managing Partner
                Green Goat Media
                916.405.1279

                Skype: roberttobys