Download & Extend

File Browser fails if Drupal isn't in the root domain folder

Project:WYMeditor
Version:5.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

For example if my drupal installation is accessible from http://www.mysite.com/DRUPAL/
instead of http://www.mysite.com/
the "File Browser" link in the "insert image" dialog fails.

I suppose that the problem is in the file image_imce.htm
In this file there is this js line:
<a href="javascript:;" onclick="window.open('/?q=imce/browse', '_wymeditor_', 'width=640, height=480, resizable=1')" >File browser</a>
the RELATIVE url privided is '/?q=imce/browse'!
In case of drupla installation url like this must be provided: '/___DRUPAL___/?q=imce/browse' or (better) '/___DRUPAL___/index.php?q=imce/browse'

Thank's for your great work!

Comments

#1

Same problem here! Excellent editor though!

#2

Version:5.x-1.x-dev» 5.x-2.0
Status:active» postponed (maintainer needs more info)

Please check the most recent version.

nobody click here