Agent List (DirectoryList)
Description
DirectoryList is pulling the list of agents from the database and displaying it on the page.
{object:DirectoryList
id="agent_list_1"
displayType="display_Type"
name="List of agents"
section="exampleSectionName"
isDefault="true"
pageSize="10"
thumbnail="/path/to/image.jpg"}
{block:DirectoryItem}
{:ItemUrl}
{/block:DirectoryItem}
{block:Pagination}
{/block:Pagination}
{/object:DirectoryList}
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 templatepageSizenumber of items per page, default is 10
Properties
block:DirectoryItem- see Agent- properties
:ItemUrl- agent page urlblock:PropertyList- properties list block that is referenced here have the following:- Note
- PropertyList block referenced here does not have
block:Pagination, this block is disabled here.
- PropertyList block referenced here does not have
- attributes:
top- top X items, default is 3, max is 10
- Note
- properties
block:Pagination- see Pagination