Agent List Select (DirectoryListSelect)
Description
DirectoryListSelect is the same as DirectoryList, the only difference is that DirectoryListSelect does not have pagination and
it you can select the items you want to display. User will be able to select one by one the items to be displayed in this list.
{object:DirectoryListSelect
id="agent_list_1"
displayType="display_Type"
name="List of agents"
section="exampleSectionName"
isDefault="true"
defaultItemCount="3"
maxItemCount="20"
thumbnail="/path/to/image.jpg"}
{block:DirectoryItem}
{:ItemUrl}
{/block:DirectoryItem}
{/object:DirectoryListSelect}
Object attributes
id- 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 SettingsisDefaultflag used when user is changing the templates, this will mark the objedt as default item to be used on a new templatedefaultItemCountnumber of items to display when user is placing it in the page, default 3maxItemCountmax number of items that the user can add to the list, default is 20
Properties
block:DirectoryItem- see Agent:ItemUrl- agent page url