We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14883 ☆ A M B ☆
    • 450 Posts
    I’ve mentioned this a few times before, but it is starting to become a showstopper with my project timeline so I have to inquire again. In either editor (CKEditor or TinyMCE), when I try to create a link using the link button, then hit the ’browse’ button to select a resource, I am shown the ’Files’ menu rather than the ’Resources’ menu. The only way to add a link to a resource is to know the id number and type it in with the link syntax ( [[~1]] ). While it would sometimes be useful to browse ’Files’ (to link to an image, for example), most of the time one wants to link to a resource.

    Am I the only one having this problem? Is there a plugin setting I should be looking for somewhere?
      • 20364
      • 89 Posts
      Nope..

      http://modxcms.com/forums/index.php/topic,47517.0.html

      Seems to be how it is for now sad I can’t even get it working with [[~id]] though...

      JIRA: http://svn.modxcms.com/jira/browse/ADDON-139
        • 22303 MODX Staff
        • 10,725 Posts
        There is no browse Resources integration at this time. You can drag and drop Resources into both RTE’s to add a link tag, or wait for specific plugins to be developed for one and/or the other that will do this.
          • 14883 ☆ A M B ☆
          • 450 Posts
          Quote from: OpenGeek at Mar 31, 2010, 12:05 PM

          You can drag and drop Resources into both RTE’s to add a link tag

          I’ve tried to do that - and if I can figure it out, that will be more than sufficient for my needs - but I haven’t been able to get it to work. Is there a certain method or trick to dragging-and-dropping a resource into the RTEs?
            • 25663 MODX Staff
            • 12,272 Posts
            I think there may actually be a bug with Firefox that makes it foofy, but it’s working OK in Safari. Shaun will have the details.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              My Firefox is also acting foofy (foofy huh) with drag-and-drop. Safari works fine on the same pages where FF doesn’t.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 28215
                • 4,149 Posts
                Quote from: jrotering at Mar 31, 2010, 12:10 PM

                I’ve tried to do that - and if I can figure it out, that will be more than sufficient for my needs - but I haven’t been able to get it to work. Is there a certain method or trick to dragging-and-dropping a resource into the RTEs?

                Apparently there’s a security issue with drag/drop into iframes (which RTEs use) with Firefox/Chrome browsers. Safari/Webkit, however, work fine.

                There is no apparent or available workaround for this (at least that I have found), so drag/drop just simply wont work in those browsers. Sorry. :/
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • 14883 ☆ A M B ☆
                  • 450 Posts
                  Hate to be annoying about this, but can someone briefly describe the specific process for using drag/drop (in an agreeable browser) to add a link in an RTE?

                  I have been able to drag a resource into the content-editing-box of the RTE, and have it create a [[~id]] tag (right in the content, not in the href attribute of a link). ... is that what is being talked about here?
                    • 28215
                    • 4,149 Posts
                    Quote from: jrotering at Apr 01, 2010, 11:25 AM

                    Hate to be annoying about this, but can someone briefly describe the specific process for using drag/drop (in an agreeable browser) to add a link in an RTE?

                    I have been able to drag a resource into the content-editing-box of the RTE, and have it create a [[~id]] tag (right in the content, not in the href attribute of a link). ... is that what is being talked about here?
                    Yes.

                    If you’re wanting it to work in the add link windows - hopefully I or someone else will contribute a plugin for the CKEditor package that integrates that functionality in. It’s not currently available.
                      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com