This patch provides some tokens about the requested relationship that can be used in the invitation email message. It requires the patch at http://drupal.org/node/542434 to work.

It creates the special tokens invite-if-rel-start and invite-if-rel-end which can be used to hide all text between them if there is no relationship when used along with the patch at http://drupal.org/node/542436.

Other tokens provided are:

invite-rel
ID of requested relationship
invite-rel-name
Name of requested relationship
invite-rel-plural-name
Plural name of requested relationship
CommentFileSizeAuthor
ur-invite-tokens.patch1.78 KBscottgifford

Comments

alex.k’s picture

Committed http://drupal.org/cvs?commit=279792. Thanks!

Looks like #542436: Using tokens to hide parts of messages hasn't been rolled in yet, though.

alex.k’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.