We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25564
    • 17 Posts
    hi

    modx 0.9.6

    i’am displaying links to private pages by ditto &hidePrivate=`0` and i would like to redirect not logged users to login page (Weblogin snippet)
    how can i do that ?

    i was trying to set up loginpageid (in Weblogin call) to pointing my weblogin page (id-12) but i didnt work it always redirecting me to main page (id=1)

    can u help me ?

    rgds

      • 25564
      • 17 Posts
      cm’on guys

      i am sure that some of you reading this topic know answer on this question

      help ?
        • 7923
        • 4,213 Posts
        In manager settings, set the unauthorized access setting to the document id of the weblogin document.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 25564
          • 17 Posts
          thx a lot wink