We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26027
    • 145 Posts
    I'm a web designer though not a ModX Guru. Our web developer just upgraded our 5 year old version to Rev 2.5. Our editor was TinyMCE but we were upgraded to the current TinyMCE with the Roxy Fileman feature.

    We used to select Template Variable graphics simply by single clicking our selection from the Editor. The new Roxy Fileman presents us with the graphics dialogue, I highlight the desired one and click the 'Select' button. An alternative would have been to double click the graphic to select it and return to the ModX page.

    When the graphic path is returned, there are two problems. There is no preview and, worse, the path has a leading "/" which, when we save the page, will not show the graphic. In fact it doesn't place the <img> link on the web page. If I remove the "/" from the path and save the page again, the graphic will show on the web page but still no preview in ModX. Finally, if I add the "/" back to the path now it will show the preview. What is especially odd is when I now save the page again the graphic continues to display on the web page. So ... previously the leading "/" prevented the graphic from even being put on the page and now it allows it.

    The last thing I should mention is that the configuration of Roxy Fileman shows "files_root" as "/assets", which the documentation says is correct in that relative paths are not allowed. That by itself makes no sense to me since the web page has a Base URL statement of "http://www.mydoman.org/". I should think that if the graphic's path left out the leading "/" it should still work.

    Oh well, if you're still reading this can you shed any light on my problem? The developer doesn't want to help me, says to use my pathetic workaround (with the extra editing and page saves).

    Thanks very much if someone of you can help me get this working the correct way, by simply clicking the graphic to select it and in return receive a working graphic and a graphic that has its preview showing in ModX.

    With appreciation ... Sam (Gerber)
      • 42562
      • 1,145 Posts
      donshakespeare Reply #2, 10 years ago
      Re: samg

      Are you by chance using http://modx.com/extras/package/tinymcewrapper

      If so, here is the official thread, and I or someone else might help you.
      https://forums.modx.com/thread/?thread=97694&page=32
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
        • 26027
        • 145 Posts
        Quote from: donshakespeare at Sep 26, 2016, 01:07 PM
        Re: samg

        Are you by chance using http://modx.com/extras/package/tinymcewrapper

        If so, here is the official thread, and I or someone else might help you.
        https://forums.modx.com/thread/?thread=97694&page=32

        Yes we are. There are many entries by that name in my Elements sidebar but I was having a problem determining the version for you. I'm not sure why you referred me to the "official thread". I didn't see anything there that I could identify with.

        Did you want me to re-post my somewhat lengthy problem description there? If what I described is a known issue "Don..." can you give me some direction in this thread? Is this a known issue?

        Thank you for your interest in my problem. I'm happy to do some additional troubleshooting if you want me to.

        Regards ... Sam
          • 42562
          • 1,145 Posts
          donshakespeare Reply #4, 10 years ago
          My usage of Roxy is deliberately limited.
          So no, it is not a known or reported issue to me.

          That does not mean that the several people who are already subscribed to the official thread do not know of this issue, even with a solution.
          So, yes, you may repost this on the official thread.

          But if you persist, I will troubleshoot this Roxy file manager, and report back to you with possible solutions.
            TinymceWrapper: Complete back/frontend content solution.
            Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
            5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
            • 26027
            • 145 Posts
            Quote from: donshakespeare at Sep 26, 2016, 02:42 PM
            My usage of Roxy is deliberately limited.
            So no, it is not a known or reported issue to me.

            That does not mean that the several people who are already subscribed to the official thread do not know of this issue, even with a solution.
            So, yes, you may repost this on the official thread.

            But if you persist, I will troubleshoot this Roxy file manager, and report back to you with possible solutions.

            Thank you "Don..." That's kind of you to offer to troubleshoot the Roxy FileManager. I'd like to avoid that because that's taking you beyond the workability of TinyMCE. I'd feel like I'm imposing. I smiled when I read your remark "My usage of Roxy is deliberately limited.". Sounds like you've had some experience with it.

            I'll post to your official thread.

            Thanks ... Sam