Comment to 'Profile Cards'
Comment to Profile Cards
  • "The module also provides an extended support for meta menu on profile cards. For example it is possible to create a "Message" button with an onclick handler
    window.location.href=sUrlRoot+'page/messenger?profile_id={profile_id}';
    on a profile card which will be opening the Messenger page with a member (no need to visit profile first in order to click the "Message" button)."


    Ok, cool. So, how do we do this?

    0 0 0 0 0 0
    • Just add a custom item for the persons snippet meta menu (studio -> navigation -> persons -> snippet meta] or direct link http://yoursite.com/studio/builder_menu.php?page=items&module=bx_persons&set=bx_persons_snippet_meta) and add a custom item with
      Title = Message
      OnClick = window.location.href=sUrlRoot+'page/messenger?profile_id={profile_id}';

      0 0 0 0 0 0
      • and for the email:

        Title = Email

        OnClick = window.location.href=sUrlRoot+'page.php?i=start-convo&profiles={profile_id}';

        image_transcoder.php?o=bx_froala_image&h=3269&dpx=1&t=1585937431

        Thank you, it's great!

        0 0 0 0 0 0

      UNA - Social Media Software Framework

      Close