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

    Can somebody tell me, how to make web login? Or are there any tutorials?
    Thank you
      Getting higher! | www.djabuzz.com
    • Have you seen documentation of WebLoginPE?
      Download it, documentation is in "docs" directory.
        God loves me. 【ツ】


        MODX.ir (Persian Support)

        Boplo.ir/modx/ (Persian)
        • 2603
        • 104 Posts
        Quote from: AHHP at Feb 07, 2009, 11:52 PM

        Have you seen documentation of WebLoginPE?
        Download it, documentation is in "docs" directory.

        Thanks man! smiley
          Getting higher! | www.djabuzz.com
          • 2603
          • 104 Posts
          I installed the snippet but dont know how to make it work.
          I’ve made page with login and page with registration:
          [!WebLoginPE? &type=`register` &regSuccessId=`43` &regSuccessPause=`44`!]


          But when I click Register, it drops me to the page 41 on some reason (this is the result page of ajax search). The same when I click login at login page.
          What do I do wrong?
            Getting higher! | www.djabuzz.com
          • Use this: [!WebLoginPE!]

            If you don’t specify login IDs, all actions will be done in current document.
            You should use &regHomeId (ID of registration page) and &liHomeId (ID of page after successful login).
              God loves me. 【ツ】


              MODX.ir (Persian Support)

              Boplo.ir/modx/ (Persian)
              • 2603
              • 104 Posts
              Quote from: AHHP at Feb 08, 2009, 10:05 PM

              Use this: [!WebLoginPE!]
              What do you mean? Yse [!WebLoginPE!], not [!WebLoginPE?]

              Quote from: AHHP at Feb 08, 2009, 10:05 PM

              If you don’t specify login IDs, all actions will be done in current document.
              You should use &regHomeId (ID of registration page) and &liHomeId (ID of page after successful login).

              Can you explain me how can I make registration page?
                Getting higher! | www.djabuzz.com
              • Quote from: a_lex at Feb 24, 2009, 10:20 PM

                Can you explain me how can I make registration page?
                Create a new document, put snippet in it like below:
                [!WebLoginPE? &type=`register`!]

                and use &regHomeId in your main snippet call (for example in your site template):
                [!WebLoginPE? &regHomeId=`ID of register document you've created above` !]

                and now when user press Register button, he will be redirected to register page and snippet call in this page, shows register form.
                  God loves me. 【ツ】


                  MODX.ir (Persian Support)

                  Boplo.ir/modx/ (Persian)
                  • 2603
                  • 104 Posts
                  Thank you. I’ve done everything as you told me, but it drops me to the page 41 (it doesnt exist at all), so I see the main page. But I need and wrote at the call another snippet.
                  What could I do wrong?
                    Getting higher! | www.djabuzz.com
                  • Check action attribute in your main form. do you use your custom form? the action should be [~[*id*]~].

                    else, check WebLoginPE snippet code in MODx resource manager line 45 (v 1.3.1) it should be:
                    $regHomeId = isset($regHomeId) ? $regHomeId : '';
                      God loves me. 【ツ】


                      MODX.ir (Persian Support)

                      Boplo.ir/modx/ (Persian)