We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18338
    • 31 Posts
    I’m sure this is a simple answer that I’ve overlooked, but I can’t figure out how to enable browsing and uploading of images in TinyMCE. When I create an image TV I’m able to use this functionality, but when I click on the image icon in TinyMCE I only get a small box which will allow me to enter an image location manually.
      • 18338
      • 31 Posts
      I thought I would try to reinstall TinyMCE to see if that would resolve the issue, and in the process I have evidently made things worse. At the last step of the install, I get this error:

      Setup will now attempt to setup the database:
      Creating connection to the database: OK!
      Selecting database `appalsho_modx`: OK!

      Plugin:

      TinyMCE: Upgraded

      Fatal error: Call to a member function getFullTableName() on a non-object in /home/appalsho/public_html/manager/processors/cache_sync.class.processor.php on line 100


      Now TinyMCE doesn’t seem to be working at all. I tried replacing cache_sync.class.processor.php with a fresh copy to no avail.
        • 7231
        • 4,205 Posts
        Regarding the original question, the file browser is only available by default to Manager Users. If you are usig it with a web user the file browser will not work unless you have 0963, where you can allow web users to use the file browser.

        As for the install issue, not sure what would cause that. Remember that if you are updating you will also need to update the tinymce folder in the assets/snippets dir so that it matches the new version..

          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 18338
          • 31 Posts
          The original problem was happening with manager users. We don’t have any web users set up at the moment.

          Are there any instructions available for updating the assets/snippets directory? I don’t see that in the readme, or any files in the package other than what goes in assets/plugins
            • 7231
            • 4,205 Posts
            I don’t see that in the readme, or any files in the package other than what goes in assets/plugins
            You are correct, it is a plugin not a snippet. My bad.

            For manager users the resource browser should work. If the problem was that the resource browser opens but no images then I would guess that the Resource Path was off,
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don't know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 18338
              • 31 Posts
              The resource browser wasn’t opening at all. Only a small window where you could enter the URL to the image and the other image attributes.
                • 18338
                • 31 Posts
                Sorry to keep talking to myself, somehow disabling and reenabling TinyMCE brings it back to where I started this thread. Still don’t know why the installer doesn’t work, but the main problem today is why I can’t get the resource browser to show up.
                  • 7231
                  • 4,205 Posts
                  I am sure that you may have already seen this other post with a similar issue:
                  http://modxcms.com/forums/index.php/topic,32732.0/topicseen.html

                  Seems like the FTP app may be breaking a few files.
                    [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                    Something is happening here, but you don't know what it is.
                    Do you, Mr. Jones? - [bob dylan]
                    • 18338
                    • 31 Posts
                    Yeah, unfortunately I did already see that, and no luck so far.

                    I’m attaching an image of the inert image window I get in TinyMCE, in case that may help make it more clear what I’m working on.
                      • 2297
                      • 31 Posts

                      I was having the same problem ... the insert/edit image window came up with only a field for manually entering the URL; exactly the same window as in the attached image in the post above.

                      Searched for 2 and a half hours to try to figure out how to get a "browse" button to show up.

                      Finally found it... in Manager / Tools / Configuration / Interface & Features / TinyMCE Settings, I had "Advanced" theme selected. Changed it to "Content Editor" and now I have the "browse button" available when I click on the "insert/edit image" button in TinyMCE.

                      Hope this helps.