A new window is opened when you click on LINK or IMAGE-LINK. If IMCE is active, there is a "File Browser" link. The url is currently /?q=imce/browser.

If drupal is NOT the root document, this link does not work (e.g. "http://localhost/drupal/"). This link will try to open http://localhost/?q=imce/browser which, in my case, does not exist.

As I know the htm page is in http://localhost/drupal/sites/all/modules/wymeditor/wymeditor/dialogs I've modified my module to read href="../../../../../../?q=imce/browser" which works fine (for me). It won't work, of course, if the wymeditor module resides elsewhere.

Comments

Moxide’s picture

Status: Active » Closed (won't fix)

Unfortunately, what you did is the only way to fix that.
With WYMeditor 0.2, plugins are not dynamically generated, thus the module can't (cleanly) tweak their codes.

Sorry, but you'll have to wait for WYMeditor 0.3...

Regards.
Moxide