Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Postale: Create New Message With Specific Receiver


Reply


3 Posts   696 Views

Avatar
fw

Community Member, 6 Posts

27 July 2011 at 9:32pm

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?

Avatar
UncleCheese

Forum Moderator, 4094 Posts

28 July 2011 at 2:03am

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

Avatar
fw

Community Member, 6 Posts

28 July 2011 at 3:27am

Thank you, works perfectly! :)