Hello,
I would like to request for a token that would print the "/invite/accept/9nA7Yg6F" and not the url before this.
Reason:
Currently the link is sent depending on language of the inviter. Therefore if the inviter is sending from /en url then the link will show as http://www.example.com/en/invite/accept/9nA7Yg6F and if sending from /ja url then http://www.example.com/ja/invite/accept/9nA7Yg6F will show in the invite email.
I have an additional role added to the user depending on url using the Auto Assign Role module.
I would like to type in the invite email:
Click here to join as role A: http://www.example.com/en[join-link-without-base-path]
Click here to join as role B: http://www.example.com/ja[join-link-without-base-path]
This way the invitee can click which additional role they want =)
Can anyone please help in implementing this new token?
Please consider this token that will allow great flexibility in this module's use.
Thank you very much!
Comment | File | Size | Author |
---|---|---|---|
#2 | 806462_add_invite_tokens.patch | 2.13 KB | nicedawg |
Comments
Comment #1
YK85 CreditAttribution: YK85 commentedsubscribing
Comment #2
nicedawg CreditAttribution: nicedawg commentedHere's a patch which adds this new token, and a few other tokens for good measure. ;-)
[join-link-without-base-path]
[inviter-themed]
[inviter-themed-raw]
Thanks,
Brady
Comment #3
apadernoI am closing this issue, since it's for a Drupal version no longer supported.