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

barraponto’s picture

I 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.

manjiri.limaye’s picture

Issue summary: View changes

Can you please explain how this would work?