Been installing TinyMCE and EasyLinks (easylink-5.x-1.x-dev.tar.gz) on a fresh Drupal 5.1. I followed the installation instructions for both modules, added the 2 lines of plugin registration code in plugin_reg.php, imported the example EasyLinks "mypages" view from the EasyLinks README.txt, and set the view name in the EasyLinks administration. I also enbabled the EasyLinks TinyMCE plugin on the TinyMCE admin page.

When I create a page, I never see the EasyLinks button in the TinyMCE menus. I tried to move it from row 1 to row 3, to no avail.

Did I do something wrong?

Best regards,

Olivier

Comments

ShutterFreak’s picture

I tested the feature on both MSIE6 and MSIE7 now.

The EasyLinks button appears in MSIE6, but it doesn't show up in MSIE7.

I will post a bug report.

Cheers,

Olivier

josesanmartin’s picture

I've also noticed it... Doesn't work in Firefox either.

To fix it, however, you just need to replace lines 107 and 108 with:

                        $search = '/<a href="(.*?)"[^>]*>/i';
                        $replace = '<a href="javascript:void(0);" onClick="addLink(\'$1\')">';

It will work, then.

José San Martin
http://www.chuva-inc.com/

ShutterFreak’s picture

Thanks a lot! Your patch fixed the problem.

ShutterFreak’s picture