đģReference
This Module lets you add Testimonials to your Site dynamically, so you can keep them updated in the Admin.
Syntax
Parameters
id
- the Module's IDitem_ids
- output one or more module items, comma seperatedcategory_ids
- output all items in one or more categories, comma seperatedlayout
- default is default.liquid - 'layout' values are relative to the folder: layouts/modules/Testimonials (module_8)/[layout name]per_page
- defines the number of items outputted on the pageshow_pagination
- default is true - defines if items should be paginated when the per_page is met.sort_type
- defines the type by which items are orderedproperties.name
- name of the Module itemcreated_at
- date the Module item was createdupdated_at
- date the Module item was last editedproperties.weighting
- weighting of the Module itemproperties.release_date
- date the item is set to be released
sort_order
- defines the order in which the type is sortedasc
- sort items in Ascending orderdesc
- sort items in descending order
collection
- default is 'false' - If you set it as collection: 'true' then any layout is suppressed.Data is accessible via{{context.exports.webapp_1.data}}
. For Example, name would be:{{context.exports.webapp_1.data.result.items[0]['name']}}
Liquid Tags
Field Name | Liquid Tag | Description |
Item Name | {{ this['name'] }} | name of the staff member |
Weighting | {{ this['weighting'] }} | weight of item, used for sorting |
Release Date | {{ this['release_date'] }} | release date of the item |
Expiry Date | {{ this['expiry_date'] }} | expiry date of the item |
Enabled | {{ this['enabled'] }} | enable/disable the item |
Image | {{ this['Image']| asset_url }} | image of the staff member |
Job Title | {{ this['Job Title'] }} | job title of the staff member |
Quote | {{ this['Quote'] }} | quote provided by the staff member |
Company Name | {{ this['Company Name'] }} | name of the company of the staff member |
Company Logo | {{ this['Company Logo'] | asset_url }} | logo of the company |
Layout Files
Testimonials Module layouts are stored in the following folder structure, which you can view via Code Editor: layouts/modules/Testimonials (module_8)/
Within this module folder you will find the following layout folders:
default/
- the default layout folderdetail/
- full page layouts folder (default not in use)item.liquid
- detail item content filewrapper.liquid
- detail item wrapper file
list/
- page section layouts folderitem.liquid
- list item content filewrapper.liquid
- list item wrapper file
Last updated