We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13382
    • 4 Posts
    I am new to this CMS and am helping out the company who owns the website that sits in front of it. However, I have been unsuccessful at dropping in the html code using the editor.

    Is there something simple I might be missing? Any help would be greatly appreciated.
      • 26016
      • 561 Posts
      Allo,
      MODx generally uses the Tiny editor. I’ll assume you’re using that.

      The first thing you need to do is make sure you click the small "HTML" button, and put your HTML there rather than in the regular editor window. But I bet you already did that. smiley

      The other thing you might be seeing is that despite using the HTML editor, Tiny will, in some cases, add or remove its own HTML when you save the page. This is well-intentioned, I guess, but annoying at times. There are ways around this, too.

      When you edit the page, you can click Settings, and remove the checkmark from "Rich Text". Then Tiny cannot interfere with your HTML.

      The last way is to make a "chunk". Resources... Manage Resources... Chunks. (or Elements.. Manage Elements... Chunks if using Evolution). Then you pull that into your document using {{MaNouvelleChunk}}.

      I hope that helps.
      Dave
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 13382
        • 4 Posts
        Hi Dave,

        That is so helpful!! Thanks very much.

        Will give it a try in just a second.

        Cheers,

        Jacques