·
Added a discussion

Please can someone help guide me through how to add blocks that would show "My Events" and "My Calendar" blocks with only the viewed profile / group / space's events listing similar to the "My Photos", "My Polls" etc blocks.

My apologies if there has been a thread already on this here, just that searching did not produce the desired result.

Any assistance on this would be greatly appreciated.

[NB. We are on a Cloud4 plan so do not have access to the backend] 

  • 1949
Comments
    • Hello

      By default there is a block 'Events of author' but it cannot be coppied on any page because it relates to the profile. And there is no 'My Calendar' block in Events app at all. 

      1. So, you can use 'Events of author' block as 'My Events'. It can be added using Developer app -> Pages builder -> select Persons in the left menu -> select View Profile in dropdown -> click with Add Blocks -> create Service block. Edit the block by changing Module field to Events and add the following in the Code field

      array (
        'module' => 'bx_events',
        'method' => 'browse_created_entries',
        'params' => array (
          0 => '{profile_id}',
        ),
      )

      2. Unfortunately there is no way to create 'My Calendar' block without customization in PHP code.

      ---
      Best Regards
      Anton

      • Thanks Anton. Very much appreciated.
        Re. "My Calendar", in our previous Dolphin based sites we use to use the Scheduler mod (by AndrewP) and it was so much very useful all round and would be great to have such features with Una also if I may suggest this.

        Login or Join to comment.