Jump to:

10846 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Postale direct message

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 438 Views
  • bezarre
    Avatar
    Community Member
    13 Posts

    Postale direct message Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Postale direct message Link to this post

    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

  • bezarre
    Avatar
    Community Member
    13 Posts

    Re: Postale direct message Link to this post

    hello and thanks

    438 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.