We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Nice find roan ... i like that a lot better.
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 4018
      • 1,131 Posts
      Yep! I always like the simple little fixes! smiley
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
        • 11413
        • 203 Posts
        Hi!

        I had an idea today while customizing the toolbars in TinyMCE. I don’t know if it would be easy to do, but it could be great if we could assign different button setups to different user groups, both for the back-end users and the web users. This could let the admin decide wich feature is safe depending on the privileges of the user. Someone could be able only to write text without viewing the source code while someone who does the correction could look at the code when the layout is messed up, etc.

        Personnaly, I would love to have some users with only basic text functions: bold, italic, underline, color and links, but no alignement buttons etc. while some other users would have access to more advanced features because they simply don’t work on the same part of the website and their needs are totally different.

        Anyways, great job with this plugin!

        bye,

        Blaise
          Blaise Bernier

          www.medialdesign.com - Solutions for small business, hosting, design and more!
          • 25663 MODX Staff
          • 12,272 Posts
          That’s a killer idea Blaise ... button sets by groups/roles. smiley
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 11413
            • 203 Posts
            Thanks! Maybe we could simply use chunks to store different configs and load them when needed?

            Also, has someone made an interface for the TinyMCE’s template plugin? If not I’ll work on that so we can use Chunks to store the templates.
              Blaise Bernier

              www.medialdesign.com - Solutions for small business, hosting, design and more!
              • 23491 ☆ A M B ☆
              • 1,056 Posts
              Is there any reason (v096) that when I change the TinyMCE Settings Theme to "Custom" and remove certain "Custom Buttons" that the TinyMCE changes don’t stick? When I try to pass custom/simple/etc, the values come right back and the Theme defaults back to "Content Editor" ... How can I customize the TinyMCE toolbar for our content editors? I’ve tried this at the Site Config level, down to the user-level w/ same results. Custom doesn’t stick...?

              Update:
              It appears that upon saving at the user level, the "custom" theme and plugins/buttons are properly saved in the database

              modx_user_settings:
              tinymce_custom_plugins
              tinymce_custom_buttons1
              tinymce_custom_buttons2

              However, if I edit the user AT ALL, the default TinyMCE settings are populated into the user form and NOT that user’s defined TinyMCE definitions from modx_user_settings. So, if I go in to change password, email, or anything the TinyMCE theme gets set to "Content Editor" and before you know it the user has all the unwanted TinyMCE buttons sad

              This appears to happen in the Site configuration as well. modx_system_settings is properly updated, but the second you have to change your Site configuration/Content editor profiles for ANY reason, the default TinyMCE settings override anything you may have previously defined... thoughts??
                Mike Reid - www.pixelchutes.com
                MODx Ambassador / Contributor
                [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                ________________________________
                Where every pixel matters.
                • 4018
                • 1,131 Posts
                Man...I’ll need to followup on what Pixelchutes is talking about. This might be a problem but if I can recreate it on my own install I’ll be able to narrow it down. Bet it’s just a variable issue.
                  Jeff Whitfield

                  "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
                  • 23491 ☆ A M B ☆
                  • 1,056 Posts
                  Quote from: Bravado at Jul 24, 2007, 02:52 PM

                  Man...I’ll need to followup on what Pixelchutes is talking about. This might be a problem but if I can recreate it on my own install I’ll be able to narrow it down. Bet it’s just a variable issue.

                  Yeah, it definitely is odd...At least the database changes stick so that our content editors are properly restricted. It just seems the logic behind populating the form on profile/site config is somehow flawed...
                    Mike Reid - www.pixelchutes.com
                    MODx Ambassador / Contributor
                    [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                    ________________________________
                    Where every pixel matters.
                    • 21537
                    • 2 Posts
                    Hi guys,

                    I just installed MODx to godaddy.com shared hosting account and TinyMCE doesnt load.
                    I have it selected from "Editor to use:TinyMCE" option, but the interface doesn’t load.
                    I tried installing the exact same version of modx-0.9.6 locally and everything works fine.
                    Any ideas ?

                    Regards, Nikolovich
                      • 3953
                      • 28 Posts
                      I am hosting on a shared GoDaddy server and am not having any problems with TinyMCE (also using modx096). Maybe you should try to re-upload the files in case there was a file transmission error.
                      huh

                      Quote from: nikolovich at Aug 30, 2007, 02:46 PM

                      Hi guys,

                      I just installed MODx to godaddy.com shared hosting account and TinyMCE doesnt load.
                      I have it selected from "Editor to use:TinyMCE" option, but the interface doesn’t load.
                      I tried installing the exact same version of modx-0.9.6 locally and everything works fine.
                      Any ideas ?

                      Regards, Nikolovich