Active
Project:
Link
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2012 at 20:48 UTC
Updated:
15 Feb 2017 at 12:12 UTC
Jump to comment: Most recent
It would be nice to expose other attributes to the node edit form, particularly the rel attribute.
One use case for this:
If I have a link field in a custom content type, some of the links would load a lightbox and some wouldn't. But the editor wants the freedom to choose which links open the content as a lightbox. If the field was exposed they could simply add the lighframe[|width:290px;height:290px;] to the field and they would have control of the size and the freedom to choose when to use a light box and when not to.
Comments
Comment #1
barrapontoI bet you can add it to the lightframe module, just store it in the field_link_attributes column and show an extra text widget in the field widget. Take a look at how _link_load and _link_process work.
Comment #2
manjiri.limaye commentedCan you please explain how this would work?