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

    I’m using the Newspublisher snippet to realize something like a weblog. I followed the well-known tutorials to set up richtext editing (create template variable etc) and things work well so far.
    However, the TinyMCE editor activated by the procedure offers only a very limited set of formatting options. I’m particularly missing hyperlinks and images. How can I make Newspublisher (or, possibly, the richtext widget of MODx) display these options?

    Thanks for any hints!
      • 16278
      • 928 Posts
      TinyMCE is set up for the web page via the plugin Configuration tab:
      Resources > Manage Resources > Plugins > TinyMCE > Configuration

      Select Editor in the Web Theme list for a two-row toolbar with a good selection of actions, including links and images. If you select Custom, you get the same set, but you can delete superfluous ones and rearrange the ones you want in the Web Buttons fields.

      If you want to change the font etc. used in the editor, you can attach your own stylesheet in the Custom Parameters field e.g.
      content_css : "/assets/templates/myStyles.css",
      (don’t miss the comma at the end)
      laugh KP

        • 28980
        • 4 Posts
        Quote from: kp52 at Jul 19, 2009, 03:02 AM

        TinyMCE is set up for the web page via the plugin Configuration tab:
        Resources > Manage Resources > Plugins > TinyMCE > Configuration
        That’s what I was looking for, thank you!
          • 6537
          • 70 Posts
          Hi, this was exactly what I needed as well, thanks!

          The only problem I’m still finding is that when adding an image this way (through NewsPublisher) there is no ’src browser’ as with the editor in the back-end manager, where you can just click on the little browse icon. I probably haven’t configured it properly, but I’ve had a bit of a look around and so far had no luck with it.

          It would be great if I could get this working, as it would be so much easier for end-users to be able to select an image as opposed to typing the URL.

          Any ideas anyone?
            • 16278
            • 928 Posts
            Check your settings in Tools > Configuration > Interface & Features. After Enable Resource Browser, have you enabled web users, and are the resource path and URL set correctly?
            smiley KP
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              There are also a number of configuration items in the "Configuration" tab of the TinyMCE plugin.
                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
                • 6537
                • 70 Posts
                Enabling web users did the trick - thanks KP! Thank you Susan as well - I did have a look in the configuration settings, but nothing looked particularly wrong (although I’m still very much finding my way with MODx, so I could easily have missed something!).

                Thanks again.