It would be great if this module would allow us to select from a dropdown menu files that are currently attached to the node (either with CCK FileField or the core Upload module). I could try contributing code if I had a few pointers, looking at the code right now has me slightly puzzled (I'm so not familiar with the Drupal javascript stuff).

CommentFileSizeAuthor
#5 ckeditor_link_files.patch1.12 KBmichaelfavia

Comments

anrikun’s picture

Mmm...
Is not using IMCE enough for this purpose?

jaramin’s picture

Correct me if I'm wrong, but IMCE is quite big and mainly for browsing through a repository of uploaded files. But there are many cases when this is overkill, or downright undesirable. Basically, any case where the general usage is to have files bound to nodes only.

scottrigby’s picture

michaelfavia’s picture

Version: 6.x-1.0 » 7.x-2.x-dev

Insert isnt integrated into ckeditor and isnt supported if you use the fieldgroup module because the wysiwyg editor isnt active. It would be a welcome addition to this module imo. However the linkit module does provide this functionality in a slightly less elegant UX. Is it appropriate to assume that new features liek this if every introduced would probably go into 7.x first? if not please retag.

michaelfavia’s picture

StatusFileSize
new1.12 KB

Attached patch lets you like to all public files. I didnt spend much time investigating the apis or anything so this is probably not the best way to sdo it if you consider possible file streams etc. Was going to use full uri's but the module seemed to require an internal path and i didnt like the ised of storing non relative patch or at least resolving them at filter time.

I repeat this is robably not the best way to do this officially for th emoddule but i needed it for a one off use today while i wait on media module integration of the same functionality upstream. I put it here only so people could build off it or reuse it YYMV

devin carlson’s picture

Project: CKEditor Link » CKEditor Link File
Version: 7.x-2.x-dev » 7.x-1.0
Assigned: Unassigned » devin carlson

I'm going to borrow this issue...

anrikun’s picture

Hey, nice work!
Let's list your module on CKEditor Link's project page :-)