Displays a list of FAQ items.
This module supports Liquid.
Syntax
{bb_faq filter="" sort="" displayType="" collectionName="" layout=""}
Properties
- filter - These fields and associated values build a filter string as follows:
filter="fieldName1:fieldValue1 | fieldName2:fieldValue2"
Options:- id - Numeric text box.
- sortOrder - Numeric text box.
- tags - Multi-select List of categories (displays data items assigned to the tag value.
- createDate - Filter by date created.
- sort - These fields can be used for sorting and builds a sort string as follows:
sort="weight:Ascending | publishDate:Descending"
Options:- id
- sortOrder
- faqQuestion
- faqPublishDate
- collectionName - The parameter is used to access the collection the Liquid tags.
- displayType - This parameter determines how you want to display the FAQ answer.
Options:- none
- accordion
- new page
- new page in new tab
- modal popup
- layout - Renders the module output using:
layout="Default" or layout="List View Layout"
- sets the layout to the Default module layout;layout="My Custom Layout"
- set the layout to use a custom layout template;layout=""
- allows you to code a custom layout right within the web page HTML.
Liquid Tags
{{faqId}}
- Unique ID for the FAQ item.{{faqAnswer}}
– This renders the answer to the frequently asked question.{{faqCounter}}
– Incremental count of the FAQ on the page.{{faqPublishDate}}
– Release date of the FAQ item.{{faqExpiryDate}}
– Expiry date of the FAQ item.{{faqLastUpdated}}
– Date and time the case was last edited.{{faqQuestion}}
– This outputs the FAQ question wrapped with a hyperlink.{{faqQuestionNoLink}}
– Renders the FAQ question without a hyperlink.- {{faqButton | text:"Your Text"}} – Coming in Future Release. Displays a button with your text that links to the answer.
{{faqTags}}
– Renders the Tags associated with the current FAQ.{{faqInternalNotes}}
– Internal notes about the current FAQ.{{faqIsEnabled}}
- Indicates if the FAQ is enabled or not.{{faqUrl}}
- URL for the FAQ.
Comments
0 comments
Please sign in to leave a comment.