We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7923
    • 4,213 Posts
    in the Members Area document (ID 24)


      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
      • 8619
      • 229 Posts
      doze,

      Thank you! That solves the issue greatly!

      I came across MODx from a friend and knew nothing about CMS, and you and the other forum members have been great, and patient wink with me while learning the ropes of the CMS.

      I truely appreciate all of you help and thank you for your time that you put in to helping me and other people solve their issues!

      God bless and Happy new Year!

      Elliott
        • 8619
        • 229 Posts
        Uh-oh..... I don’t see a logout option button or link anywhere.....

        How would I get one to appear or is it hidden somewhere? Thanks for all the help with this!

        Elliott
          • 7923
          • 4,213 Posts
          just call the WebLogin snippet on a document where you would want to see it.. Members Section Home Page (ID 25) would be good i guess.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 30111
            • 19 Posts
            Hi all,

            I would like to know another question about this snippet..

            Firstly, is it the only snippet to log a webuser to a restricted area or others exist??

            Secondly, I would like to have a snippet which appear only on "one line" (more precisely, on the headline like this web site: http://www.muddydogpaws.com/Home.html).
            I know I have to modify some .php but I don’t know which...Somebody may have an example??

            Finally, I have a problem with my "log page". When I log in correctly, the item "logout" appear" a few moment then disappear to let display the login page... Then, when you logout, the item "login" appear a few moment in a desorganised way then let display the logout page... Is it normal, doctor??
            user: test
            password: password

            Thank you for your help

              Titi - new french MODx user but interested in
            • The snippet needs to be called uncached [!WebLogin...!] in a cached page. As far as the layout of the login form, you can use any kind of template you like. I usually put the default template in a chunk, then edit it carefully so that I don’t lose any of the functionality.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 30111
                • 19 Posts
                Thanks

                The call is uncached (I use [! ... !] to call this snippet) and this problem always exist...

                The template I have to modify is weblogin.inc.php, isn’t it?
                  Titi - new french MODx user but interested in
                  • 7923
                  • 4,213 Posts
                  Quote from: Titi at Dec 31, 2006, 11:35 AM

                  Firstly, is it the only snippet to log a webuser to a restricted area or others exist??
                  This is the only one afaik, what’s wrong with it?

                  Quote from: Titi at Dec 31, 2006, 11:35 AM

                  user: test
                  password: password
                  Url?

                  Quote from: Titi at Dec 31, 2006, 11:55 AM

                  The template I have to modify is weblogin.inc.php, isn’t it?
                  No, the chunk.weblogin.tpl contains the default layout template for the snippet. Just create a new chunk with that content and add &tpl=`chunkname` to your snippet call. Then start modifying the template to suit your needs.



                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 30111
                    • 19 Posts
                    Quote from: doze at Dec 31, 2006, 01:54 PM

                    This is the only one afaik, what’s wrong with it?

                    Only the last problem with this story of displaying "logout" or "login" form inside the document during a few moment.

                    Quote from: doze at Dec 31, 2006, 01:54 PM

                    Url?

                    What a stupid person I am.... clic this link: http://www.pilotes-pyreneens.org/modx/index.php?id=6
                    User: test
                    Password: password

                    Quote from: doze at Dec 31, 2006, 01:54 PM

                    No, the chunk.weblogin.tpl contains the default layout template for the snippet. Just create a new chunk with that content and add &tpl=`chunkname` to your snippet call. Then start modifying the template to suit your needs.

                    Ok, I will create this new layout template and I’ll call with the parameter "&tpl" in my snippet call

                    Thank a lot
                      Titi - new french MODx user but interested in
                      • 7923
                      • 4,213 Posts
                      Quote from: Titi at Dec 31, 2006, 03:01 PM

                      Only the last problem with this story of displaying "logout" or "login" form inside the document during a few moment.

                      ...clic this link: http://www.pilotes-pyreneens.org/modx/index.php?id=6
                      User: test
                      Password: password
                      Try this. It should remove the "double reload", but also read my post below that one..


                        "He can have a lollipop any time he wants to. That's what it means to be a programmer."