We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6408
    • 58 Posts
    Hi, im using TinyMCE 4.1.0-rc1 with Modx Revolution 2.02.

    Is there anyway to add custom buttons suchg as tables to the buttons ? I have searched through the posts and found nothing relevant to the versions of revo and tiny MCE im using.

    There are no system settings that seem to relate to custom or advanced themes in the System Settings, as far as I can see.

    Is it possible to edit tinymce.plugin.php or tinymce.class.php to add this functionality?

    Any help would be great smiley

    Thanks,

    Dan
      • 25141
      • 49 Posts
      Hi,

      you can customize TinyMCE in the System Settings. For your example with the tables:

      - System > System Settings
      - filter by TinyMCE (instead of "Core" in the dropdown menu)
      - add in the custom buttons bow of your choice: "tablecontrols"
      - in the custom plugins list: add ",table" at the end

      Cheers,
      *R
        • 6408
        • 58 Posts
        Many thanks Rixe, you’re a star!#

        What I didnt realise is that you can filter the RTE / Tiny settings further from the drop down list at the top from core to Tiny - this opened a whole array of parameters I couldnt seem to get to before. Wouldnt have been able to do this without your help - not sure if the system settings editor is very intuitive, but Im not complaining smiley

        Many thanks.

        Dan
          • 30524
          • 22 Posts
          Hey

          I try to figure this out for hours but I cant find any Core Settings like "custom_plugin" or "custom_buttons".
          I use Revo 2.04.pl2, I think they might changed the settings for the TinyMce in that version. I want the table buttons and the template plugins enabled. Maybe it is enought, if you give the fieldname for the settings.

          thanks. matic

            • 6408
            • 58 Posts
            Quote from: traedamatic at Nov 06, 2010, 01:02 PM

            Hey

            I try to figure this out for hours but I cant find any Core Settings like "custom_plugin" or "custom_buttons".
            I use Revo 2.04.pl2, I think they might changed the settings for the TinyMce in that version. I want the table buttons and the template plugins enabled. Maybe it is enought, if you give the fieldname for the settings.

            thanks. matic



            Hi dont know if you have got any further with this, but the process is essentially the same in the Modc Revo 2.04.pl2.


            Click on System > System Settings

            Along the top of the box of system settings there are four options:

            ’Create New Setting’ ’Filter by area’, ’Core’ and ’search’.

            Change Core > Tiny MCE

            Now, Right Click on ’Custom Button Row 3’ (or whichever row you want to add the button to) and add:- "tablecontrols" (without the quotes)

            Then find the custom plugins list: add ",table" (without the quotes) at the end.


              • 13585
              • 7 Posts
              Quote from: dannyL at Nov 08, 2010, 06:20 AM


              Now, Right Click on ’Custom Button Row 3’ (or whichever row you want to add the button to) and add:- "tablecontrols" (without the quotes)

              Then find the custom plugins list: add ",table" (without the quotes) at the end.


              Thanks DannyL,
              I totally forget it also needed to be added to customs plugins smiley