We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27444 ☆ A M B ☆
    • 117 Posts
    I am using the CDATA in ModX with the Content section so that the user can post rich text content through the XML but it is displaying much more nodes than needed. Here is the code:

    <profile>

    <label>Visions</label>
    <title>[*pagetitle*]</title>
    <body><![CDATA[ [*content*] ]]></body>

    </profile>

    Here is the output in the XML:

    <profile>
    <label>Visions</label>
    <title>Subcategory 1</title>
    −
    <body>
    <div id="qmEditorClosed"/>
    −
    <div id="qmEditor">
    <a id="qmClose" class="qmButton qmClose" href="#" onclick="javascript: return false;">X</a>
    −
    <ul>
    −
    <li>
    <a id="qmLogoClose" class="qmClose" href="#" onclick="javascript: return false;"/>
    </li>
    −
    <li>
    −
    <a class="qmButton qmEdit colorbox" href="http://www.test.com/manager/index.php?a=27&id=7&quickmanager=1">
    <span> Edit Resource</span>
    </a>
    </li>
    −
    <li>
    <a class="qmButton colorbox" href="http://www.test.com/manager/index.php?a=4&pid=7&quickmanager=1">Create Resource here</a>
    </li>
    −
    <li>
    <a class="qmButton" title="Manager"href="http://www.test.com/manager">Manager</a>
    </li>
    −
    <li>
    <a id="qmLogout" class="qmButton" title="Logout" href="http://www.test.com/manager/index.php?a=8&quickmanager=logout&logoutid=7">Logout</a>
    </li>
    </ul>
    </div>
    <p><strong>This is just some text</strong></p>
    </body>
    </profile>

    Any solutions to eliminate what seems ModX Manager text? smiley
      Steven James McLean
      Tech Lead
      springbokagency.com
      • 16610
      • 634 Posts
      Turn off QuickManager+ plugin (extra code you are seeing is generated by QM+).

      Or disable QM+ on certain documents. More info at QM+ configuration / "Plugin disabled on documents". QM+ readme file: http://www.maagit.fi/files/qm-plus-1341/readme.html
        Mikko Lammi, Owner at Maagit
        • 27444 ☆ A M B ☆
        • 117 Posts
        Thanks very much. It worked grin
          Steven James McLean
          Tech Lead
          springbokagency.com