Hi,

when using NodeSymLinks it's very hard to work with CKEditor Link, because you get lot of duplicates in the autocomplete and you don't know which one to choose. So showing where the links leads to would be a helpful information.

Comments

Wolfgang Reszel’s picture

StatusFileSize
new1.17 KB

I've created a simple paths which appends the path alias to the Link name in the autocomplete list. I've done this for nodes and menu items.

Wolfgang Reszel’s picture

StatusFileSize
new5.42 KB

I improved the code to remove duplicates and to show language codes to avoid someone linking to the wrong node as some words are the same in different languages.

anrikun’s picture

Thanks for your patch Wolfgang.
I won't commit it as is because I'm currently working to add this feature in a more flexible way.
But in the meantime, users may try your patch.

anrikun’s picture

Priority: Normal » Major
Wolfgang Reszel’s picture

Hey, that are great news. :-D

devin carlson’s picture

hass’s picture

Any news on this more flexible way?

heddn’s picture

Issue summary: View changes
heddn’s picture

Status: Active » Needs work

I did some testing of the patch in #1530862-2: More verbose autocomplete. It mostly works, except the URL that gets inserted converts to the path alias on successive edits. The "revert" url needs to contain the (node/nid) still or things get switched to the path alias.

jaydarnell’s picture

I recently ran into a similar issue when it came to group content using organic groups. I didn't want to restrict the ability for a user from one group to add a link to a page in a second group but I did need a way to specify which group each returned item belonged to. So I did a check on the returned content, checking to see if it was group content and then checked its parent group - prepending the parent group's name in front of the result.

What I'd like to know is how we can create more robust results. In other words, instead of just returning a single line of text for each match could we style that content a bit more, show a content banner (image) or similar graphical identifier. Is this possible?

Thanks!

vulfox’s picture

Hello!

Will this be committed?

There are many this kinds of suggestions in the issues que. Will any of them leap forward?