Closed (won't fix)
Project:
Linkit
Version:
7.x-3.5
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2014 at 17:32 UTC
Updated:
16 May 2023 at 16:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
PascalAnimateur commentedLooks like it is possible !
Comment #2
PascalAnimateur commentedEven better patch with email display and translation of the entity label.
There should be corresponding options for (picture / email) in the user search plugin settings.
Comment #3
anonYes, this could be a feature.
I have some comments about the patch tho.
- Why use t() on the description? The reason why its not there now is that the description is "user input". Check https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/t/7
- There should be a setting for this in the "User plugin settings" that is default off.
- The typo fix can still be in the patch, I don't mind that.
If you fix this, I'll gladly commit this.
Comment #4
Northern_Girl commentedHi.
Was this finally commited ? I'm a new user to Linkit and this is something that I would like to have.
Thanks.
Comment #5
PascalAnimateur commentedHere's a revised patch with only the user image display, no t() in the description.
Comment #6
PascalAnimateur commentedComment #7
PascalAnimateur commentedPatch also includes fix for issue #2550209: Image not appearing in autocomplete result
Comment #8
anonWell, it sure fixes the two issues, but it reintroduce a security issue.
We need to sanitize the output. That is done by
Drupal.checkPlain(result.description)today. If we remote that, it open for XSS attacks.Comment #9
PascalAnimateur commentedRe-rolled patch against 7.x-3.5
Comment #10
anonI would like to see this configurable in the user plugin.
Comment #11
mark_fullmerIn order to help the community and the module maintainers focus work on the issues for this module that are most important to the Drupal community, I'm going to close this issue, as it is a feature request that does not have substantial work already and the issue hasn't been updated in many years.