When you put the Linkit module in sites/all/modules/contrib instead of /sites/all/module then the path for the icon is no longer correct.
In fckplugin.js the icon is set to oLinkitItem.IconPath = basePath + 'sites/all/modules/linkit/editors/fckeditor/linkit/linkit.png';

CommentFileSizeAuthor
#1 linkit-1030936.patch1.95 KBjohannesdr

Comments

johannesdr’s picture

Status: Active » Needs review
StatusFileSize
new1.95 KB

Patch included. I added drupal_get_path('module', 'linkit') to specify the path to the icon.

anon’s picture

Nice.

Maybe this type of fix should be applyed to the other editors aswell, not sure, just a thought.

anon’s picture

Status: Needs review » Fixed

We have to think about the stand alone versions for FCKeditor and CKEditor aswell.

This need to fixed for them too.

I commited your patch, with some changes.
Also including some modifications to the README files in FCKediotor and CKeditor.

anon’s picture

Version: 6.x-1.8 » 7.x-1.x-dev
Assigned: Unassigned » anon
Status: Fixed » Active

This has to be done for Linkit 7.x also.

anon’s picture

Title: Icon not shown in fckeditor when module is in modules/contrib » Added more reliable path strings for fckeditor and ckeditor
anon’s picture

Status: Active » Fixed

Commited to 7-dev.

Thanks.

Status: Fixed » Closed (fixed)

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