Excellent work on this module!
I am working on a fork of this which would be compatible with a suite of modules which we hope to release when they're all ready. Basically it will only offer links to other nodes in the same taxonomy term.
I have got it all working, including making the autocomplete only work on nodes in the same term, but I would like to replace the autocomplete with a selector, as I think this would be more intuitive for our users. Please could someone give me a hint on how to go about doing this? I have had a good look but I can't work out what exactly I'd need to change.
I probably just need a kick-start on this and could continue finding my own way after that. Any ideas or thoughts would be very gratefully received!
Thanks.
Comments
Comment #1
martin_qPS Just seen I need to look at using your new version and implementing the hooks rather than hacking away at your code and making a fork. That is fantastic and I will definitely do that. My question still stands though! :)
Comment #2
anrikun commentedAs you said in #1, you should now use the last 6.x-2.x to write a submodule implementing the new hooks.
But if you want to provide a select box instead of the current autocomplete textfield, you'll also have to write a new CKEditor JS plugin that overrides parts of the CKEditor Link plugin.
As a good start, I suggest you have a look at CKEditor's developers guide:
http://docs.cksource.com/CKEditor_3.x/Developers_Guide
Comment #3
devin carlson commentedanrikun's explanation in #2 still applies.