Categories Overview
Categories are used for broad grouping of posts. Consider them as general topics or table of contents for a website. Categories exist to help identify the subject of a blog. Developers can leverage categories to help their audience find the right type of content on their site. Categories are hierarchal which allows developers to use sub-categories. The steps for creating categories are provided below.
Step 1 – Add a collection
Open the Blog Module folder located in web files -> managers.
Click Add Collection.
Enter the Name, Title and Description of the collection.
Click Submit.
Step 2 – Adding categories, adding subcategories, and deleting categories/subcategories
Step 2a – Adding categories
Open the newly created collection
Enter a category in the textbox and click Add.
The category is added below.
Step 2b – Adding sub-categories
Click parent category to select it.
Type the name of the sub-category in the textbox and click Add.
The subcategory will appear underneath the folder of the parent category.
Step 2c – Deleting categories/sub-categories
Click the category or expand the parent category and click the subcategory to select it.
Click Delete.
Review the warning and click OK.
Note: Deleting parent categories will delete subcategories contained therein.
Step 3 – Mapping the categories to a module
Open the Module.
Click Modify.
In the Modify modal expand the Website Properties.
Under the Categories section click Browse under the Datatable Category Group.
Select the newly created collection.
Click Choose.
Click Submit.
Step 4 – Add categories to each entry
Open the module
Click the Add Entry button.
Enter the name, choose the status and images, populate the heading, intro and content.
Scroll down to the Categories section and select the appropriate categories created.
If the category is not listed, the user can create them in the modal.
Click Submit.