How to add category in Discussion app ??

How to add category in Discussion app because i don't have that option in administration ??

  • 475
  • More
Replies (8)
    • Hello @Andbob

      To add 'Category' to your Discussions App, please go to Studio -> Forms app -> Data Items -> Select Discussions module (from the dropdown field) -> Forum Categories -> 'Add New Item' button.

      To add 'Categories', please go to Studio -> Forms app -> Categories -> Select Discussions module (from the dropdown field) -> 'Add' button.

      To know the difference between 'Category' (singular) and 'Categories' (plural), please read this post:

      https://una.io/cmts-view/1s20owo?sys=bx_forum&cmt_id=41055

      • Hello @OneEagle

        I would like to ask if there is a possibility (in discussion) to use 'Categories' (plural) without allowing users to select multiple categories ?

        Thank you 🤗

        • Hi @Ekena

          Well, If you don't want to allow your users to select multiple categories, you'd rather use 'Category' (singular). That's what 'Category' is for.

          The main difference between 'Category'' and 'Categories' is that while with 'Category' (singular), only one category (pre-created by the admin) can be selected, 'Categories' (plural) allows users to select multiple categories (still pre-created by the admin) and/or to suggest/create their own.

          Also there is a display (visual) difference between them because they work differently. 'Category' uses a dropdown field while 'Categories' use a multiselect field.

          To use 'Categories' without the multiselect functionallity will probably require a custom code to  modify existing code. @LeonidS

          • Thank you so much @OneEagle 🤗 It is much clearer now 😊

            • You are welcome :)

              • Is there a way to create a page block for a specific category i.e. discussion > general or discussion > news whatever the topic is.

                • 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],
                    ),
                   ),
                  )
                  
                    Login or Join to comment.