We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14225
    • 12 Posts
    Is it possible to return the user to the previous page they were viewing after they login. I know the &liHomeId will return them to a predefined list of pages but I would like the user to be automatically returned to the last page they were viewing before the clicked the login button.

    Many thanks.
      • 9060
      • 17 Posts
      Help Please!!!

      How do I create a validation of fields in time to update a profile, because this option is available only to include a new User?

      thanks
        ERSAO
        • 25586
        • 105 Posts
        Hi!

        I’m trying to get a list of all the employees of the same company (by company_id) of a logged in employee. Is there a way to get the user.company_id working?

        &usersList=`My employees:default:default:internalKey:ASC:company_id([+user.company_id+])`!]

        Hope someone can help me out smiley.

        Rogier
          • 10076
          • 1,024 Posts
          Hi.

          I am having this strange issue, Weblogin 1.3.1, Modx Evo 1.0.2.
          After registration, my webusers recieve an email with login details (regtype verify) and should be directed, after login, to a page. But instead return to the registration page. Have cleared my cache, reinstalled WebloginPE, tried with a different template, bit helas, all no go.

          Heres my login call
          [!WebLoginPE?&type=`simple`&liHomeId=`54`!]


          54 is off course the page I want users to go to after login, not the registration page. WHen going back to the login page it shows the users is logged in.

          And here the registration call
          [!WebLoginPE? &type=`register`&regType=`verify`!] 


          Both these calls, were much longer, but for troubleshooting I stripped down the calls.
          Could this be in the database, some wblpe parameters that did not get cleared, i dont know.
          Who oh who spots the error,

          Frank.

            • 27442
            • 103 Posts
            Does resouce 54 have some user security applied to it, or is it a public document?
              • 28307
              • 9 Posts
              Hi guys. I have a problem, when I call WebLoginPE in a template or a chunk, it executes two times. For example, when a user reset the password, WebLoginPE will send two mails. How can I fix that?. Thanks.
                • 32393
                • 29 Posts
                I hope this hasn’t already been asked...

                Can you easily limit the user signature in the profile? Right now it seems like a user can type a signature/comment as long as they want.
                  • 2912
                  • 315 Posts
                  Quote from: ssinuco at Feb 09, 2010, 08:51 AM

                  Hi guys. I have a problem, when I call WebLoginPE in a template or a chunk, it executes two times. For example, when a user reset the password, WebLoginPE will send two mails. How can I fix that?. Thanks.

                  I’ve written a program for myself which fires twice if I’m not careful. Are you using the snippet call twice on the same page? or maybe once in your document content and another in your template. That’s always what catches me out! What calls are you making?
                    BBloke
                    • 28307
                    • 9 Posts
                    Thanks for responding.

                    First, I had problems with call WebLoginPE two times in a same document, for example I made a template with a call like [!WebLoginPE? type=`simple`!] and a document that used the template with a call in the content like [!WebLoginPE? type=`register`!], but it didn’t work. So I wrote a snippet that executes WebLoginPE depending on the id of the document. For example:

                    if($id == ’82’)
                    $params[’type’]=’simple’;
                    else
                    $params[’type’]=’register’;

                    $html = $modx->runSnippet(’WebLoginPE’,$params);

                    And I call this snippet in a template with: [!CargarWebLogin? &id=`[*id*]`!]

                    What have I done wrong?

                    Thanks (Sorry for my english).
                      • 31471
                      • 206 Posts
                      Did you search for ’webloginpe multiple’ on this forum?
                      Did you check this tread?
                      http://modxcms.com/forums/index.php/topic,28622.0.html