Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
Comment 'Hello @Brand Harbor...' to 'Showcase view vs Gallery View'
Comment to Showcase view vs Gallery View
    •  ·  LeonidS
    •  ·  2025-06-08T09:27:43+0000

    Hello @Brand Harbor !

    Could you please specify the code which you applied there?

    • See older replies...
      •  ·  Brand Harbor
      •  ·  In reply to
        LeonidS
      •  ·  2025-06-10T22:05:03+0000

      @LeonidS any feedback on the code I shared?

        •  ·  LeonidS
        •  ·  In reply to
          Brand Harbor
        •  ·  2025-06-11T07:18:53+0000

        For the browse_favorite method your code doesn't contain the main argument - the profile_id of the person who views the Favorite people block. In this state, your code gives the error 500. You may pass the 0 then UNA will insert the id of the viewer.

        So it should have the look like:

        array (
         'module' => 'bx_persons',
         'method' => 'browse_favorite',
         'params' => 
         array (
          0 => 0,
          1 => 
          array (
           'unit_view' => 'showcase',
           'empty_message' => false,
           'ajax_paginate' => false,
          ),
         ),
        )
        
          •  ·  Brand Harbor
          •  ·  In reply to
            LeonidS
          •  ·  2025-06-12T16:54:51+0000

          Thank you

        See more...
        • Features
        • Pricing
        • Forum
        • Blog
        • Market
        • About
        • Copyright
        • Contact
        • Terms
        • Privacy
        • 𝕏
        Search
        UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
      • Platform
        • Features
        • Core CMS
      • Resources
        • Documentation
        • Marketplace
        • Discussions
        • Support Groups
        • API Reference
        • UNA CMS on GitHub
        • Webinars
        • Blog
      • Community
        • Discussions
        • Groups
        • Webinars
      • Pricing
      • Are you sure?
        Please, enter a value here