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 @Devin Young...' to 'How to add category in Discussion app ??'
Comment to How to add category in Discussion app ??
    •  ·  LeonidS
    •  ·  In reply to
      Devin Young
    •  ·  2024-11-25T18:21:07+0000

    Hello @Devin Young !

    You may add the service block via the Developer app, Pages section with the following code:

    array (
     'module' => 'bx_forum',
     'method' => 'browse_category',
     'params' => 
     array (
      0 => '',
      1 => 'true',
      2 => 'true',
      3 => 
      array (
       'category' => [Your category number],
      ),
     ),
    )
    
      •  ·  Devin Young
      •  ·  In reply to
        LeonidS
      •  ·  2024-11-25T20:30:05+0000

      Thank You!

      • J

        •  ·  joonaskoo
        •  ·  In reply to
          LeonidS
        •  ·  2024-12-15T11:00:57+0000

        How about a feed for a specific category?

          •  ·  LeonidS
          •  ·  In reply to

            J

            joonaskoo
          •  ·  2024-12-15T16:41:06+0000

          Hello @joonaskoo !

          Well, it's better to use the channels instead of the category because they have the own profile feed which is comfortable to show all added content there. Just add via the Developer->Pages app the service method with the following code:

          array (
            'module' => 'bx_timeline',
            'method' => 'get_block_view_profile',
            'params' =>
            array (
             0 => 'bx_channels',
             1 => 1,
            ),
          )
          

          where

             1 => 1,
          

          means the channel with id=1, so for the second it would be

             1 => 2,
          
        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