Closed (fixed)
Project:
Link
Version:
6.x-2.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2008 at 16:27 UTC
Updated:
17 Jan 2009 at 14:19 UTC
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
Comment #1
quicksketchYou can change the display of link fields by overriding theme_link() in your template.php file.
Comment #2
JoeMcGuire commentedI 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
Doing the above will result in giving you labels to your link fields such as 'Website Title' and 'Website URL'.