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.

All other Modules /

Discuss all other Modules here.

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

Postale direct message


Reply


3 Posts   571 Views

Avatar
bezarre

Community Member, 13 Posts

17 September 2011 at 3:24am

Hello,

I am using unclecheese's postale module and i wanted to know if there is an way to open an messages/add window by passing an parameter.

Why? On my page, every user has an profilepage (where you can read things about him, like name, birthday, etc.) and there i want to add an "write a message" link. When the user clicks on that link the "create new message" window should popup.

Can some one help me?

Best Regards
Micha

Avatar
UncleCheese

Forum Moderator, 4096 Posts

17 September 2011 at 8:14am

Yeah, that's decorated on to the Member object.

<% control YourMember %>
<a href="$SendMessageLink" rel="fb">Send $Name a message</a>
<% end_control %>

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Avatar
bezarre

Community Member, 13 Posts

17 September 2011 at 8:26am

hello and thanks :-)