Image List Block (ImageListModule)
Description
ImageListModule is a static object that is used to display a list of items.
The content can be highly customized, including custom fields (see Custom object property).
Fields are not all required.
The main idea is that this should be a block with a list of items. This can be displayed as carousel, grid, list or any other way the developer wants to display it.
{object:ImageListModule
id="object_id"
displayType="display_Type"
section="exampleSectionName"
name="Object name"
thumbnail="path/to/image.jpg"}
{:Title}
{:SubTitle}
{:Description}
{block:ImageListItem
id="list1""
itemCount="3"
isCircular="false"
menuVerticalPosition="middle"
menuDisabled="false"
imageL="path/to/image.jpg"}
{:ItemNode}
{:ImageS defaultValue='path/to/image.jpg'}
{:ImageL defaultValue='path/to/image.jpg'}
{:Title}
{:SubTitle}
{:Description}
{/block:ImageListItem}
{/object:ImageListModule}
Object attributes
:ImageListModule- the object name, also the Type of the object:ImageListItem- the actual block that will loop through all the imagesid- used to identify the object, this will be used to match the correct object when the user is updating the templatedisplayType- object info display type, see Object Display Typesectionsee Settings
Block attributes
id- used to identify an list when there are more than one list in the object, see Item Node PropertyitemCount- default items when theobjectis first rendered, using theimageLas default imageisCircular- flag that indicates if the list is circular, moving items in list and reaching the ends, the item would be pushed at the other endmenuVerticalPosition- the position of the item menu in website editor, values:middleandtop, default value istopmenuDisabled- a flag telling the website editor to show the item menu or not
Property attributes (available for all properties)
isExternalEdit- flag that marks the field to be edited in the sidebar, useful when the property is inside a link.
Properties
:ItemNode- see see Item Node Property:ImageL- will be replaced the the image URL - the large version of it:ImageS- will be replaced the the image URL - the small version of it\:Title- title of the module:SubTitle- sub title of the module:Description- description or just some text that goes with the image or the module.