We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10792
    • 13 Posts
    First: Thanks a Lot for WebLoginPE snippet. I’m reading the tutorial, very useful.

    Ok, only a (simple?) question.

    I have a page with userslist (filtered). This page show me, for example, number 3 results profiles.

    It’s a method for generate automatically the NUMBER (3, in that example) of the results for this page?

    10x for the Help smiley
    Gianfra
      • 28107
      • 230 Posts
      a ’bittle lit off-topic’ : a german translation file (de.php plus templates) will be ready by next week.
        CONIN Werbeagentur . Köln
        http://www.conin.de
        • 28107
        • 230 Posts
        so,here we go: http://www.conin.de/download/modx/WebLoginPE-131DE.zip
        This is a translation of the following files
        - Default Forms Folder
        - taconite xml Folder
        - webloginpe.templates.php

        All files resp. folders are renamed to <file>DE.
        You can rename each to <file> and replace the english version.
        The only thing not fully translated are the ’Terms of Service & Use’.
        This should be adapted individually to your own needs.

        Does it make sense to translate the docs also?

          CONIN Werbeagentur . Köln
          http://www.conin.de
          • 31471
          • 206 Posts
          Quote from: Edski at May 23, 2008, 12:34 PM

          The "Remember me" option from webloginpe is not working for me
          (...)
          in the chunk I use a checkbox instead of the select:

          <input type="checkbox" id="remember" name="rememberme" value="315569260" /><label for="remember">Onthouden?</label>

          Hi Edski!
          Try [tt]value="on"[/tt], I reckon this helps.
            • 6525
            • 15 Posts
            Hi Scotty, this is a great tool! Everything works perfect! I have one small issue though... I want to open a new page when users click the profile link. So here is my call..
            [!WebLoginPE? &regHomeId=`59` &profileHomeID=`60`!]

            I have created the profile document, and the id is 60.. here is that call
            [!WebLoginPE? &type=`profile`!]

            However, the profile doesnt open inside a new page when clicked, it still loads on the sidebar. The registration link loads fine. Thanks for any help! smiley
              • 6525
              • 15 Posts
              Error solved.. &profileHomeID=`60` should be &profileHomeId=`60`

              It was wrong in the documentation.
                • 12379
                • 460 Posts
                I’m trying to alter the template for a simple login box with the following parameters:

                [!WebLoginPE? &type=`simple` loginFormTpl=`loginForm`!]

                I’ve got the chunk named "loginForm" setup but the snippet is ignoring it, giving me the default template instead. What am I doing wrong?
                  Mostly harmless.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  You forgot the & in front of the parameter name: &loginFormTpl=...
                    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
                    • 12379
                    • 460 Posts
                    well that was embarrassing! embarrassed

                    OK, so I’ve got a log-in box in the sidebar of every page except for the Member’s pages, for obvious reasons. Problem is when a registered member clicks to a (non-member) page with the sidebar login box, the logged-in greeting appears crammed into that box. Is there anyway to have the log-in box disappear once a member is logged in?
                      Mostly harmless.
                      • 27442
                      • 103 Posts
                      You could create your own &successTpl template that contains nearly nothing (perhaps even nothing at all) and add that parameter to your sidebar snippet call.