Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use Link to show Sibelius scores and pdf-files in nodes.
To get the precise path I use CKEditor->Link (IMCE) to browse the path. Then I copy the path from the field, closes the IMCE and inserts the path in the Link field.
It would be easier if Link could use IMCE to browse for existing files on own server directly.
Is that possible?
Comments
Comment #1
jcfiala CreditAttribution: jcfiala commentedI suppose it's possible, but I don't have the time for it myself. It sounds like a neat idea for a patch, though.
Comment #2
jcfiala CreditAttribution: jcfiala commentedComment #3
ufku CreditAttribution: ufku commentedA solution in theme layer:
The js snippet can also be added to script.js
Comment #4
yukare CreditAttribution: yukare commentedPlease, can not you change this to drupal 7 and make a patch to use in the module, not in theme?
Comment #5
dqdsadly no - temporarily. It has to be clarified if there is any security issue possible on it. A link field in D7 should be very careful with new features since it is an elementary field. This should be discussed with D7 security team members involded.
But since this issue is half a year old I will close it until somebody feels to reopen it.
thx 4 understanding and special thx for the provided snippets and reports! much appreciated.