Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Line 107 of the editor_plugin.js file appears to be assuming that the TinyMCE module is installed in the modules directory, and not as we have in the sites/all/modules directory. For us this isn't a problem as we have clean URLs enabled, hence the resulting URL http://example.com/sites/all/index.php?q=easylink/load gets rewritten. However, for users who don't have clean URLs installed, this could well be a problem. Adding the following below line 107 should fix this.
base_url = base_url.substring(0, base_url.indexOf('sites/all'));
Comments
Comment #1
imrook CreditAttribution: imrook commentedHey! thanks for catchin' that. The 'sites/all' will also not work for a single site configuration. What about the following line:
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedSorry for taking so long to get this in. It's committed in 5.x-1.x-dev as of today.
Comment #3
(not verified) CreditAttribution: commented