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

    I’m completely new to using any kind of content management software, so getting my head around MODx this far has been difficult!

    This is probably an incredibly dense question, but I was wondering how I would go about applying TinyMCE to a bog standard html form, within a textarea.

    Do I have to call the plugin in a snippet and then call that snippet in my chunk, or is there or a more direct way of doing it?

    Sorry again for the basic nature of the question, only I’m a complete newbie to this, and I’ve gotten myself a bit lost!

    Any help is appreciated.

    Hollie
      • 4172
      • 5,888 Posts
      which version of modx evo or revo?

      you want to have TinyMCE for the content-field in the modx-backend?
      or do you need custom-fields (TVs) for resources with a TinyMCE-textarea?

      In Evo TinyMCE is included by default.
      For Revo you need to install that per package-management.

      If you need richtext-TVs create TV with input-type richtext.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 12294
        • 30 Posts
        Hi,

        I have Evo with TInyMCE already installed. I want to apply the TinyMCE to one of the Modules in the backend, where within our system you can add an item. What the system currently does is pull a chunk which has a form in it, and then does some php on it within the module itself. I’ve had a look and I can’t see away of applying a template within the module section or the chunk section, but I might be missing something as I’m a bit confused! I think that I want to have TinyMCE for the content-field in the modx-backend.

        Thanks

        Hollie
          • 4172
          • 5,888 Posts
          which module? And where do you add items with your module?
          To custom-tables or do you add/edit modx-resources with your module?

          If you only want to add/edit modx resources tinyMCE is allready there per default for your content-field, or not?
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 12294
            • 30 Posts
            Hi,

            The module calls the chunk which has the html form data, (where I want to add the TinyMCE) and then calls a snippet. The snippet then processes the collected data and stores it into a catalogue database.

            The Module "Add Item" where I want to put the TinyMCE editor isn’t within the Elements section, so I don’t think its a resource, and its only within the elements section that I have the editor by default. Within the module section, I wrote the html form that its currently using, and I couldn’t see any ways of adding the editor by default, so I was assuming I had to do it through calling the plugin?

            Thanks

            Hollie
              • 4172
              • 5,888 Posts
              did you see and try if that works for you: http://modxcms.com/forums/index.php?topic=14862.0
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 12294
                • 30 Posts
                grin

                That worked for me! Thank you for all your help!

                Hollie