I can't figure out on my own how to replace the Link label 'Title' when inputing the values for the link field (title and link). How will I able to do this?

To explain further... I created a link field 'Link' with title option. When creating a content the fields 'Link Title' and 'Link' need to be filled. Now I want that I will be able to change the label 'Link Title' to 'Site Name'.

Advice much appreciated.

Comments

quicksketch’s picture

You can change the display of link fields by overriding theme_link() in your template.php file.

JoeMcGuire’s picture

Status: Active » Closed (fixed)

I think you are asking how to change the labels on the Link form elements which are displayed on the node/add and node/edit pages.

If so the easiest is method is to change the fields label in CCK

Chaning a Link's label in CCK

  1. Go to Content Types admin/content/types
  2. Click Manage Fields for your content type
  3. Click Configure
  4. Press Change basic information This is at the top of the form just below the disabled fields
  5. Change the Label field from 'Link' to 'Website' or what ever label you want

Doing the above will result in giving you labels to your link fields such as 'Website Title' and 'Website URL'.