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.
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.
Comments
Comment #1
francewhoa+1 for this feature.
In the meantime the module 'String Overrides' might be able to do that: http://drupal.org/project/StringOverrides
Comment #2
mikey_p commentedI'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.
Comment #3
gmclelland commentedOn 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
Comment #4
drupaloo-1 commented+1 for this feature.