Closed (fixed)
Project:
TinyMCE Node Picker
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jan 2010 at 12:02 UTC
Updated:
29 Jan 2010 at 12:30 UTC
I changed the link for nodepicker inside plugins/nodepicker.inc
new code:
<?php
function tinymce_node_picker_nodepicker_plugin() {
$plugins['nodepicker'] = array(
'title' => t('Node picker'),
'vendor url' => 'http://drupal.org/project/tinymce_node_picker',
'icon file' => 'nodepicker.png',
'icon title' => t('Insert link to internal content'),
'settings' => array(
'dialog' => array(
'title' => t('Test'),
'url' => url('admin/tinymce-node-picker'),
'width' => 640,
'height' => 480,
),
),
);
return $plugins;
}
?>
You should use url( instead what was being used before!
Otherwise you don't get localized urls (which was a problem in my case) and probably all kind of other potential issues.
Comments
Comment #1
peter törnstrand commentedThank you. Change has been commited to HEAD.