Custom fields
JoomFAQs works with Joomla custom fields. You can add fields such as "Product", "Applies to version" or "Last checked" to your questions and show their values with the answer.
Create a field
- In the JoomFAQs sidebar, click Fields.
- Click New.
- Enter a Title, choose the Type (Text, List, Calendar, Media, URL and the other Joomla field types) and set its options.
- Optionally limit the field to some categories with Category.
- Click Save & Close.
Field Groups in the sidebar groups fields. Each group becomes its own tab on the question screen.
The Fields and Field Groups entries only show when Joomla's Fields component is enabled, and the fields only work when the System - Fields plugin is enabled.
Fill in the values
Open a question in the administrator. The fields are on the Fields tab, or on the tab of their field group. Enter the values and save.
How the values show
The fields with a value show inside the open question: above the answer on the FAQ page, below the answer on the single question page. Fields without a value are left out. The field option Label decides whether the field title shows in front of the value, and the field's render classes are added to the HTML.
The global option Custom Fields Layout in Configuration, tab Template, sets how the values show on FAQ pages:
| Value | Shows the fields as |
|---|---|
| Default | One line per field: "Label : value" |
| Table | A table with the labels in the first column, and the field group titles as headings |
In 6.1.12 the single question page always uses Default.
Permissions
Fields and field groups have their own permissions, set on each field or group. See Permissions.