I have enabled the button in the settings, and it works great with Firefox. But does not function properly in Internet explorer.
I have tried version 1.4, 1.5 and the version 2.0, Version 2.0 breaks everything the icon still appears in firefox but no links are generated.
I revert back to version 1.5 and it will work in Firefox again

I have drupal installed utilizing a WAMP stack on server 2003, I have tired IE 7 and IE 8.

Comments

peter törnstrand’s picture

Assigned: Unassigned » peter törnstrand

Will have a look at this.

tecdragon’s picture

I am fairly technical, and can assist if given directions. I would love to get this to work, I use firefox but the rest of the office pretty much doesn't

Using
Windows Server 2003
Drupal 6
Bitnami WAMP Stack
TinyMCE and the wysiwyg plugin

I don't know what else to say other than it is an awesome tool and works great in Firefox.

mjpg’s picture

Results of my testing:

Using Node Picker v1.5, Drupal v6.14
A site on a Linux server on a 'real' external domain.

These browsers are all XP SP3:

Firefox v3.5.5 - works as expected

Safari v4.0 - works as expected

IE8 - Link is added correctly but is appended to start of all text inside HTML - ie:
Intended: <p>text here <a href="/node/1/">link text</a> more text</p>
Actual: <p><a href="/node/1/">link text</a>text here link text more text</p>

IE7 - nodepicker icon does not appear and IE shows a javascript error in status bar

IE6 - as IE7

tecdragon’s picture

My results

Firefox 3.5.5 -- works
IE8, IE7, IE6 -- Nodepicker icon does not appear

tecdragon’s picture

Also utilizing Windows XP SP3

mjpg’s picture

Warning - don't know much about this - feel free to ignore

Googling other TinyMCE plugin and IE problems, one common issue seems to be when single and double quotes are mixed - but I cannot see how this would affect the node picker code.

js/dialog.js line 11 has:
var link = '<a href="'+ $(this).attr('href') +'">'+ content +'</a>';

looks fine to me but perhaps IE does not like the mix?

I found also:
theme/page-tinymce_linkpicker.tpl.php line 19
tinyMCE.execCommand("mceInsertContent", false, insertText);

I have not tried changing these.

The Googled links were:

http://tinymce.moxiecode.com/punbb/viewtopic.php?id=6009

http://stackoverflow.com/questions/527821/textpatterns-haktinymce-plugin...

peter törnstrand’s picture

Thank you mjpg. Will dive in to this and get it working. New release coming later today.

peter törnstrand’s picture

Found the problem. Line 18 of tinymce_node_picker/plugins/nodepicker/nodepicker.js. There was a trailing comma after the "invoke" function that caused the problem.

peter törnstrand’s picture

Status: Active » Fixed

Fixed in head. Created a new issue for #3 above.

#649916: Insert link problem in IE

tecdragon’s picture

Thank you so much! Beta 3 - is working for me.

Status: Fixed » Closed (fixed)

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