Custom Label for Contact Link

gmclelland - August 12, 2008 - 20:55
Project:Contact Link
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:mikey_p
Status:active
Description

Can you please add an option to change the text of the link per content type. Instead of "Contact the Author", I would like something custom like "Report a typo" or whatever.

#1

Onopoc - September 27, 2008 - 23:29

+1 for this feature.

In the meantime the module 'String Overrides' might be able to do that: http://drupal.org/project/StringOverrides

#2

mikey_p - October 29, 2008 - 12:33
Assigned to:Anonymous» mikey_p

I'll look into this when I get a chance. I think optional integration with token would be a great feature here.

I do need to figure out how the UI for this would work. Do most people expect that:

1) the setting be on each node-type page

OR

2) on a single page (probably under 'Site Configuration') where they can enable/set the contact link for each type on their site?

I may post this into the UI group.

#3

gmclelland - October 29, 2008 - 13:29

On the node-type edit page you could have two fields.
1. Show "contact the author" link for this content type: Yes / No
2. Optional custom phrase instead of "contact the author" - Text field that supports tokens.

Or

You could create a configuration page where someone could create token enabled phrases and choose a default phrases to use for all content types. Then on the node-type edit page you could have two fields.
1. Show "contact the author" link for this content type: Yes / No
2. Select the phrase to use - dropdown.

Anyways, that's just two ways to do it of the top of my head. Hope that helps.

-Glenn

#4

drupaloo - July 5, 2009 - 02:56

+1 for this feature.

 
 

Drupal is a registered trademark of Dries Buytaert.