{module_faqresults}

Description

Displays a list of FAQs. Can be placed on the same page as the search form or a different page.

Syntax

{module_faqresults collection="my_custom_collection_name" template=""}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

Parameters

This module can be rendered using:

  • A static layout - this module is not rendered by any layouts. See the example below for the format of the output.
  • Liquid collections - here are the Liquid output tags you can use:
Liquid tag Description
{{searchQuery}} A string representation if used in the search results
{{pageNumber}} Results page number
{{items.counter}} FAQ Counter
{{items.url}} FAQ URL
{{items.question}} FAQ Question
{{items.name}}

The item's category:

  • if there's only one it will output the name of the category.
  • if there's more then one category assigned to the item it will output "Multiple"
{{selectedIndex}} The faq starting index
{{pagination}} Pagination controls:
  • currentPage
  • itemsPerPage
  • numberOfPages
  • totalItemsCount
  • previousPageUrl (null if empty)
  • nextPageUrl (null if empty)
{{itemType}} The item's type (image, Flash or HTML)

Examples

  • {module_faqresults} - This outputs a list similar to this one:  

Syntax

{module_faqresults}

This module is rendered with these layouts

  • This module is not rendered by any layouts. See the example below for the format of the output.

Examples

  • {module_faqresults} - This outputs a list similar to this one: