We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11413
    • 203 Posts
    There was a small problem in the login form PHP source code of the snippet wich made it non compliant with the Xhtml standard. Open the weblogin.inc.php and change that line :

    <script language="JavaScript">


    for this one :

    <script type="text/JavaScript">


    It on line number 55!

    Hope it make you all happy!
      Blaise Bernier

      www.medialdesign.com - Solutions for small business, hosting, design and more!
      • 11413
      • 203 Posts
      I get another warning from this snippet : when parsing the logout link, XHTML standard recommand to use &amp; instead of a single &, even in a url. I don’t know where to change it, so if anybody can help there!

      bye,

      Blaise

      P.S.: It’s the only warning on my whole website!
        Blaise Bernier

        www.medialdesign.com - Solutions for small business, hosting, design and more!
      • it’s line 110 of /assets/snippets/weblogin/weblogin.inc.php.
          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
        • Thanks for catching that... will be fixed in 0.9.1 smiley
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 11413
            • 203 Posts
            Quote from: sottwell at Dec 11, 2005, 06:59 AM

            it’s line 110 of /assets/snippets/weblogin/weblogin.inc.php.

            Sorry, nothing like that on line 110 :s I finally found it :

            Line 217 :

            $url = $url.((strpos($url,"?")===false) ? "?":"&")."webloginmode=lo";


            instead of :

            $url = $url.((strpos($url,"?")===false) ? "?":"&")."webloginmode=lo";

              Blaise Bernier

              www.medialdesign.com - Solutions for small business, hosting, design and more!
            • Maybe a different version; with the weblogin.inc.php file that comes with 0.9, it’s actually line 109. There’s only 181 lines in the whole file.
                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
                • 4095
                • 372 Posts
                A quick grammer issue, "forget password" is grammatically incorrect and should be "forgot password"

                <td colspan="2"><a href="#" onclick="webLoginShowForm(2);return false;">Forget Password?</a></td>


                Cheers.
                  [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
                  Admin Sandbox Login: sandbox Password: castle
                • Unless it’s "shorthand" for "Did you forget your password?" or even "I forget what my password is"
                    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
                    • 4095
                    • 372 Posts
                    Quote from: sottwell at Dec 30, 2005, 12:19 PM

                    Unless it’s "shorthand" for "Did you forget your password?" or even "I forget what my password is"

                    Except its a question and starts with a capital, which means its the entire phrase. otherwise it would have to be ’forget password?

                    I have changed it via the template, guess thats the power of MODx smiley Thought I’d bring it to your attention in case it was an oversight since a proof reader of my site made me aware of it.
                      [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
                      Admin Sandbox Login: sandbox Password: castle
                      • 33453
                      • 141 Posts
                      Er ... strictly speaking it should be "Forgotten Password?" or, best of all, "Forgotten Your Password?" grin