Module install directory

sdrycroft - July 4, 2007 - 09:00
Project:EasyLink
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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'));

#1

imrook - August 23, 2007 - 04:24

Hey! thanks for catchin' that. The 'sites/all' will also not work for a single site configuration. What about the following line:

base_url = base_url.substring(0, base_url.indexOf('sites/'));

#2

linuxbox - October 11, 2007 - 22:03
Status:active» fixed

Sorry for taking so long to get this in. It's committed in 5.x-1.x-dev as of today.

#3

Anonymous - October 25, 2007 - 22:21
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.