We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18266
    • 23 Posts
    Hi there,
    is it currently possible to change the TinyMCE editor theme to anything else than "editor" in Revo 2.0.0-rc-2?

    Thanks!
    Marcus
      • 18463
      • 121 Posts
      Martijn van Turnhout Reply #2, 16 years, 2 months ago
      Hi,

      yeah I got the same problem. I’m looking for ways in Revo to customize my TinyMCE theme. I’d like remove options like "underline", "strikethrough", "superscript" etc, but I can’t find any settings to modify these options.

      Does anybody know how to handle this problem?
        • 9550
        • 123 Posts
        inside the 2.0.0-pl manager

        system / system settings

        set filter to "tinymce"

        edit "Custom Buttons Row" 1 & "Custom Buttons Row 2"

          • 9550
          • 123 Posts
          skipjack66: Any luck. I can’t seem to figure this out either.

          Ideally, I would LOVE to use the Cirkuit TinyMCE Skin
          http://www.cirkuit.net/projects/tinymce/cirkuitSkin/

          but if I change the tiny.template.theme setting from anything other than "editor" TinyMCE stops working.

          **I haven’t looked into this too deeply.

          Any ideas?
            • 17499 ☆ A M B ☆
            • 872 Posts
            Nice link featherodd, I just applied the cirkuit theme in MODx Revolution without any glitch.

            The thing is to change settings in the plugin properties not the setting table.

            Here is how i did it

            First, copy the your theme in your "assets\components\tinymce\jscripts\tiny_mce\themes\advanced\" directory.

            Then follow the below instructions:



            • Select Elements tab on the left sidebar on the manager, then click on Plugins and select TinyMCE

            • Once in the plugin page, select the Properties tab

            • Since we don’t want to lose our setting if there is an update later, let’s create a custom Property Sey.
              Unlock Property set and click on Add Property Set button

            • Give it a name (Cirkuit per example) and validate, then scroll down the list until you see the skin property.
              Change it to cirkuit.

            Save your custom setting by clicking the button Save.

            There you go, you have your custom theme set. You can also modify all the other settings the same way.
            Go to any document editing page, and enjoy!


            edit:

            I just added the pagebreak plugin via the setting table (Added "pagebreak" to Custom buttons Row 1 + Custom Plugins), it worked like a charm (in reference to the second post)
              • 9550
              • 123 Posts
              dude, thank you! I’m still finding my way around Revolution.

              But I could only get it to work by modifying the defaults and then it still only worked up after I used "clear cache."

              I first tried creating a custom property set called "cirkuit theme," but no matter what I tried I could not seem to get it to override the defaults. Do I need to lock this in somehow. From Tools / Property Set, It looks to be properly assigned to TinyMCE with the write settings overridden, but does this seems to do absolutely nothing.
                • 17499 ☆ A M B ☆
                • 872 Posts
                  • 28215
                  • 4,149 Posts
                  I have, and I made it the default. tongue
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                    • 9550
                    • 123 Posts
                    Nice!, splittingred: YOU’RE AWESOME !!

                    VIVA La rEVoLUTION!!
                      • 1809
                      • 15 Posts
                      Quote from: featherodd at Jul 26, 2010, 04:35 PM

                      inside the 2.0.0-pl manager

                      system / system settings

                      set filter to "tinymce"

                      edit "Custom Buttons Row" 1 & "Custom Buttons Row 2"




                      Hi, I followed your advice and I tried like this:

                      I added <<,template>> to Custom Buttons Row 1
                      I added <<,template>> to Custom Plugins
                      I put: <<img_caption:assets/templates/tiny_img_caption.html:single image with caption>> (of course there is a file with that name in assets/templates/)

                      note: I also tried /assets... (putting a slash before) but nothing is changed

                      result:
                      I get the button in tinyMce toolbar but if i click anything appens...

                      any suggestion?
                      Thanks.