Could somebody point out to me how to add a Link formatter to the Link formatter list in the display settings. I would need something like "Short, as link with title 'Link'" but with a different title: "Short, as link with title 'Download'".

Thanks a lot for your help!

Comments

timdavison’s picture

If you don't mind writing your own (small) module to do it there is an excellent tutorial here.
http://www.grasmash.com/article/field-api-creating-your-own-field-format...

One thing to note is that the field type for the link is 'link_field' so the entry in the array for field types is as follows:

'field types' => array('link_field'),

Hope that helps.

jcfiala’s picture

Status: Active » Fixed

This looks answered, so I'm going to set it to 'Fixed'.

Thanks, @timdavison, for answering the question.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.