Just tried out the Node Picker. Per the INSTALL.TXT instructions, it looks like a site address has to be hardcoded in the editor_plugin.js, thereby associating the picker with a single site install.

Unfortunately, I have several sites installed off a single core as follows:
sites - http://www.example.com/somesite, http://www.example.com/somepath/someothersite, ...
sites on server - /
//sites/example.com.somesite, ...

Without editing the URL in editor_plugin.js, the Drupal Node Picker button launches a window that tries to open:
http://example.com/tinymce_linkpicker?D

With nothing there, I get a 404. Trying the path to one of the sites, it listed the nodes for that site:
http://example.com/somesite/tinymce_linkpicker?D

Can the Node Picker be used to support a multi-site setup as described above? If it can't currently, it would be a very welcome update.

Thanks for creating this project.

Comments

peter törnstrand’s picture

Assigned: Unassigned » peter törnstrand
Status: Active » Fixed

This relates to #559112 as it's due to the same bugs in code. Marking this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.