We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25055
    • 5 Posts
    Hi all,

    I’m working my way into MODx after some experience with other CMSes. I’m finding it great to work with and I’m very excited about it.
    OK - for my first templated page, I have a problem : in the Manager there’s a WYSIWYG field that I don’t understand on every page, even the completely empty ones. I have made a screenshot which explains it : http://www.riczito.com/modx_question.jpg.

    The code for that template is below. You’ll see there is no [*content*] tag as yet. Just one TV called [*intro*]. So if my client were to type text into that "Document Content" field (which he’s likely to do as it’s the first one in the Manager page), nothing will get published. This is liable to confuse him.

    Is there any way of removing it, or at least putting it lower down in the admin page, after the intro?
    Here is the (unfinished, obviously) template code so far :

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    <title>CorrectMot</title>
    <link rel="stylesheet" href="[(base_url)]assets/templates/correctmot/cm_home.css" type="text/css" media="screen" />
    </head>
    <body>
    <div id="wrap">
    <div id="header"></div>
    <div id="navholder">
    <div id="homebutton"><a href=[~[(site_start)]~]><img src="[(base_url)]assets/templates/correctmot/images/home_off.gif" border="0" onmouseover="this.src=’[(base_url)]assets/templates/correctmot/images/home_over.gif’" onmouseout="this.src=’[(base_url)]assets/templates/correctmot/images/home_off.gif’"></a></div>
    <div id="nav">[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown`]]</div>
    </div>

    <div id="topcontainer">
    <div id="intro">[*intro*]</div>
    </div>

    <div id="bottomcontainer"></div>
    <div id="footer"></div>
    </div>
    </body>
    </html>


    The page can be seen here :
    http://clients.pixelligence.com/correctmot

    Maybe I’m getting the wrong end of the stick?
    Any help will be appreciated! Thanks in advance!
    Ric Zito
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There is a plugin that allows you to do that
      http://www.modxcms.com/Hide-Editor-1410.html

      This also might be useful
      http://www.modxcms.com/Customize-Manager-Fields-1342.html
        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
        • 6726
        • 7,075 Posts
        This is indeed HideEditor you’re looking for, but also if you want to go further customizing the manager there’s the ManagerManager plugin.
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l&#39;outil id
          • 25055
          • 5 Posts
          Hi, and thanks to both of you for replying so quickly.

          Well, I installed all three of your suggestions, one at a time, and followed the instructions to the letter, including installing jquery.js for the last two. ManagerManager was a little too complicated for me, I’m afraid - I’m no programmer, just a designer, so I didn’t really delve into the code for fear of breaking something.

          Anyhow, the bad news is, none of them changed anything. That pesky "Document Content" field is still there...
          I logged out and back in again. Quit the browser, emptied all caches including MODx’s. Nothing doing.

          Any ideas? Thanks again for your help!
          Ric Zito
            • 25055
            • 5 Posts
            OK - ignore that last post...it’s working now!
            Silly mistake - I forgot to remove the opening/closing PHP tags...

            Sorry if I wasted your time!