Hello,
I would like to add a 'Send this member a message' link on the member profile page, so that this member is add as receiver automatically. How could I achieve this?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
Postale: Create New Message With Specific Receiver
Funny, I thought that was in the API, but I guess I never added it. I've just pushed it into the Github repo, so if you pull down, you should be able to do the following in the scope of a Member object:
<a rel="fb" href="$SendMessageLink">send a message</a>
Let me know how that works for you
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
Thank you, works perfectly! :)