Add option to change node invite link title

austintnacious - March 5, 2009 - 05:13
Project:Node Invite
Version:6.x-1.0-beta7
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently the node invite link title is something like "Invite people to this %type" (where %type is a token representing the CCK content type's machine readable name).

I'd like to be able to change this link title to my liking.

Any chance you'll incorporate that feature in the future?

Thanks!

Great module BTW!

#1

austintnacious - March 5, 2009 - 05:42

Also, I've tried using the string overrides module to alter this link text but with no luck so far.

That approach did work with the ecard module which I was trying to use for the purpose of invites before I found your module but it doesn't seem to work here.

I'm not a programmer so I don't know why. . .

. . . I found out why. . .

string overrides require the WHOLE STRING [contained within t()], I was trying to search for the string as rendered on the end-user webpage and alter that text, when what I needed to do was alter the string passing through t() before it gets sent to the page [I'm trying to sound like I have a clue here].

So this is still a feature request and I'm requesting that you make the link title configurable by a user with appropriate permissions and that the link title is token-aware [again trying to sound like I have a clue. . . don't be fooled].

 
 

Drupal is a registered trademark of Dries Buytaert.