Objet Display Type
Description
In order for user to be able to change templates and not go through all the pages to match the correct widgets that fit the part of the page, we give the developer the ability to flag the widget with a type that match all other templates.
NOTE:
- Display Type will be ignored for dynamic single items, like Agent (
{object:DirectoryItem}) and Property ({object:Property}). displayTypeattriute is not required, so if you don't know what kind of type it is you can omit it.- You can add multiple types for a single object.
Cases
There are the supported values:
for lists
Grid- The items are displayed in a grid pattern (many columns and many rows). exampleList- The items are displayed in stacked up lines (one column and many rows). exampleSliderLineMulti- Slider that has multiple visible inline items. exampleSliderLineSingle- Slider that has a single visible item, much likeSliderLineMulti, but only one item at the time. exampleSliderFullScreen- Slider that is displaying one item at the time and it has the same size as the screen. exampleExpandableList- Items that are displayed as list where each item can be expanded to view details, also known as collapsible. exampleIconList- Items that contain icons displayed as list.IconGrid- Items that contain icons displayed as grid.UtileSlider- Items that are displayed as slider, but have a narow functionality, e.g.: partners, sponsors.UtileList- Multiple items that are displayed as list, but have a narow functionality, e.g.: FAQ.UtileGrid- Multiple items that are displayed as grid, but have a narow functionality.NoneMediaList- There is no media in this block, just text.NoneMediaGrid- There is no media in this block, just text.
for single
WideMedia- Media is displaying as wide as the size of the screen, but not the height. exampleFullScreenMedia- Media is displaying with the same size as the screen. exampleSimpleMedia- Media is on any side of the screen, such as on top, bottom, left, right or center.UtileHead- Used to display certain data, e.g. breadcrumbs etc, at the top of the page.Utile- Just likeUtileHeadbut can be used anywhere on the page, e.g. contact us, map.NoneMedia- There is no media in this block, just text.
Example
{object:WidgetName
...
displayType="display_type1"
...}
<!-- widget data -->
{/object:WidgetName}
-OR-
{object:WidgetName
...
displayType="display_type1,display_type2,display_type3"
...}
<!-- widget data -->
{/object:WidgetName}