Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
I created an action link in views by:
'rewrite results' and 'output this field as a link'
relationship/[uid]/request/?destination=user/[uid]
Slight problem is that it returns to the user page and gives error You are not permitted to create any more relationships with this user.
I've tried relationship/[uid]/request/?destination=home
but still no joy ..
In the user template the return works fabulously :)
Please how would I setup the link that it would return to the previous page, in this case the view of possible friends.
Looking most forward to any reply and thank you.
Comments
Comment #1
phryll93 CreditAttribution: phryll93 commentedrelationship/[uid]/request/?destination=user/[uid]
has to be
relationship/[uid]/request/1?destination=user/[uid]
Comment #2
mrf CreditAttribution: mrf commentedComment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedI am experiencing the same problem with views and menu token configurations. This is not limited to views integration.
Friend request form returns error message text "You are not permitted to create any more relationships with this user." for link: relationship/[user:uid]/request/1?destination=user/[user:uid]
Error message itself is configurable and text is output.
Link works and friend request is sent. Limitations are not met for any condition, sender has sent only a few requests, first request to receiver.