Comment to 'Objects in Blocks in pages disappears for standard user in page when visibility have been set to standard membership level'
  • Hello jean-pascal perrein !

    As you know the content like "Featured", "New", "Past"  etc (for Events App) works only with a public variant of visibility. How is possible to show all events in a list but with hidden items for not-allowed levels? In the Studio->Pages app, the necessary page you need to add a new "service" block with the "System" module and the following content:

    array (

      'module' => 'system',

      'method' => 'get_results',

      'params' => 

      array (

        0 => 

        array (

          'object' => 'bx_events',

          'show_empty' => true,

          'cond' => 

          array (

            1 => 1,

          ),

        ),

      ),

      'class' => 'TemplSearchExtendedServices',

    In this case, you will have the list of events like in the next picture. But the users with the proper levels will see all.