We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    Hello,

    Trying to validate my websites, I often use the "HTML Validator" add-on for Firefox so I can see instantly if the webpage is valid or not.

    However the QuickManager does not seem to validate correctly. And even if this doesn’t matter when using an external validator (like the w3c website, or an add-on which takes you to a website), it’s quite annoying when using a validator like the "HTML Validator" which validates it internally.

    So I thought I’d make it validate.

    Here’s what I changed:

    I changed the follwing in assets/plugins/qm/qm.inc.php
    Line 126
    <a class="qmButton qmEdit colorbox" href="'.$this->modx->config['site_url'].'manager/index.php?a=27&id='.$docID.'&quickmanager=1"><img src="'.$this->modx->config['site_url'].'manager/media/style/MODxCarbon/images/icons/save.png" /> '.$_lang['edit_resource'].'</a>
    -to-
    <a class="qmButton qmEdit colorbox" href="'.$this->modx->config['site_url'].'manager/index.php?a=27&id='.$docID.'&quickmanager=1"><img src="'.$this->modx->config['site_url'].'manager/media/style/MODxCarbon/images/icons/save.png" alt="'.$_lang['edit_resource'].'" /> '.$_lang['edit_resource'].'</a>



    Line 244
    <a id="qmClose" class="qmButton qmClose" href="#" onclick="return false;">X</a></li>
    -to-
    <a id="qmClose" class="qmButton qmClose" href="#" onclick="return false;">X</a>


    Line 247
    <a id="qmLogoClose" class="qmClose" href="#" onclick="return false;"></a>
    -to-
    <li><a id="qmLogoClose" class="qmClose" href="#" onclick="return false;"></a></li>


    I’m not sure if this is the right forum, but could this be fixed in the next release also?
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 16610
      • 634 Posts
      Thanks, I’ll add this fix to the next version.
        Mikko Lammi, Owner at Maagit