MODULES
Siteglide Modules

Testimonials

4min
this module lets you add testimonials to your site dynamically, so you can keep them updated in the admin syntax {% include 'module' id '8' layout 'design system/10' per page 20 sort type 'properties name' sort order 'asc' %} parameters id the module's id item ids output one or more module items, comma seperated category ids output all items in one or more categories, comma seperated layout 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 page show 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 ordered properties name name of the module item created at date the module item was created updated at date the module item was last edited properties weighting weighting of the module item properties release date date the item is set to be released sort order defines the order in which the type is sorted asc sort items in ascending order desc 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 folder detail/ full page layouts folder (default not in use) item liquid detail item content file wrapper liquid detail item wrapper file list/ page section layouts folder item liquid list item content file wrapper liquid list item wrapper file