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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


Go to End


3 Posts   939 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, 4102 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! :)