Categories
JoomFAQs uses Joomla categories. Every question is in one category, and each FAQ page on the site shows one category.
Create a category
- Open Components > JoomFAQS > Categories. This is Joomla's category manager, filtered on JoomFAQs.
- Click New.
- Enter the Title and, if you like, a Description. The description can show above the questions.
- Choose a Parent to make it a subcategory.
- Set the JoomFAQs options on the Options, Questions Options, Form Options and Search Settings tabs, see Category options.
- Click Save & Close.
The dashboard's Add Category button opens the same screen.
Subcategories
Categories can be nested. When a FAQ page shows a category with subcategories, each subcategory gets a panel with its icon, its title, its description, its questions and a View All Questions button that opens the subcategory's own page. The options for these panels are on the parent's Options tab, see Subcategories.
With Show Questions on Parent Category set to Hide, a parent category page shows only the subcategory panels, not its own questions and search box.
Who can see a category
The category's Access level decides who sees it:
- On the category page, visitors without the access level get "You are not authorised to view this resource".
- The questions of the category are hidden from them, also on the single question pages.
Questions have no access level of their own. They follow their category. To keep some questions for members, put them in a category with the access level Registered or one of your own levels.
An unpublished category shows the same "not authorised" message on the site.
Category icon
The Choose icon option on the Questions Options tab sets the icon of the category. It is used in front of the subcategory panel title, and in front of questions that have no icon of their own.
Permissions per category
The Permissions tab of a category has two JoomFAQs actions:
| Action | Allows |
|---|---|
| Add a question | Adding questions to this category |
| Edit (Respond) | Editing and answering the questions of this category, in the administrator and on the site |
See Permissions.
Language
Joomla categories have a Language field. Questions do not. For a FAQ in several languages, create one category per language and a menu item per language.
Delete a category
Before you delete a category, move its questions to another category with the Category field of each question. Questions whose category is gone no longer show on the site. Trashing or unpublishing a category hides its page and its questions.