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   674 Views

Avatar
fw

27 July 2011 at 9:32pm Community Member, 6 Posts

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

28 July 2011 at 2:03am 4085 Posts

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

28 July 2011 at 3:27am Community Member, 6 Posts

Thank you, works perfectly! :)