We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/551">Login 1.0-rc2</a> by splittingred.

    Brief Description:
    Loads a simple login/logout form, with password retrieval functionality and a register form snippet.



    - Fixed alias issue in ForgotPassword snippet

    - Note: will only work properly in Revolution 2.0.0-beta5 or later.



    See the Official Documentation here:

    <a href="http://svn.modxcms.com/docs/display/ADDON/Login">http://svn.modxcms.com/docs/display/ADDON/Login</a>
      • 22563
      • 63 Posts
      Hi!

      First, thanks for this nice snippet!

      One question:
      Is it possible to place the error message on a different page or in a popup/browser message? The reason I am asking is: I’ve my login form in a jquery drop down area and a login error wouldn’t be visible on page reload as the form is hidden by default.

      And are there any short examples for these options (for better undersanding)?

      errTplType
      The type of tpls being provided by errTpl. This can be:
      modChunk - The tpl provided must be the name of a chunk.
      file - Must be an absolute path to the tpl file.
      inline - The content of the tpl will be directly in the tpl property itself.
      embedded - The tpl is already in the page; just make the error properties be placeholders.

      Thanks!
        • 22563
        • 63 Posts
        I’ve solved my problem using an inline error template. It works.

        But the embedded drop down option is not available for the errTplType.
          • 8522
          • 145 Posts
          Hi
          I have a problem concerning [[$lgnRegisterForm]] and i18n. [[Register]] does $modx->lexicon->load(’login:register’); but the i18n tags in the chunk are not rendered. I guess it’s due to that the snippet doesn’t load the chunk. Am I doing something wrong?

          When I change the first i18n tag inside the chunk from [[%register.username]] to [[%register.username? &topic=`register` &namespace=`login` &language=`en`]] all following tags render fine, except: register.password_confirm

          Lexicon has register.password, register.password_dont_match and register.password_not_confirmed, but no register.password_confirm.

          This is traditional revolution beta5
            • 28215
            • 4,149 Posts
            eerne,

            This is a known bug and will be fixed in an upcoming release. Thanks!
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 8522
              • 145 Posts
              Thanks for you quick reply splittingred! I’ll wait with further testing of revolution.

              Does Jira have a revolution components section?

              I couldn’t find where the Login specific issues would be.
                • 28215
                • 4,149 Posts
                Yes, on the home page of JIRA, you can scroll down to AddOns...or click here: http://svn.modxcms.com/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=10021&resolution=-1&sorter/field=updated&sorter/order=DESC
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com