Property (Property)
Description
Property is pulling the property details from the database and displaying it on the page.
{object:Property
id="propery_details_1"
section="exampleSectionName"
name='Property module name'
thumbnail="/path/to/image.jpg"}
{:LastUpdated}
{:PostedDate}
{:Description}
{:Price}
{:SaleType}
{:SaleByType}
{:FeaturedVideo}
{:FeaturedVideoMimeType}
{:FeaturedImageL}
{:FeaturedImageS}
{:FeaturedImageTitle}
{:FeaturedImageDescription}
{:HomeType}
{:LivingSize}
{:LivingTotalSize}
{:LotSize}
{:LotWidth}
{:LotDepth}
{:Bedroom}
{:Bathroom}
{:BathroomHalf}
{:YearBuilt}
{:LastYearRemodel}
{:ConstructionQuality}
{:ExteriorMaterial}
{:Roof}
{:RoofMaterial}
{:RoofYear}
{:Stories}
{:Units}
{:Cooling}
{:Heating}
{:HeatingFuel}
{:Fireplace}
{:Parking}
{:Garage}
{:GarageWidth}
{:GarageDepth}
{:Pool}
{:PoolLocation}
{:View}
{block:InfoList}
{block:Info}
{:Name}
{:Value}
{/block:Info}
{/block:InfoList}
{block:Media} -> PropertyImages and PropertyVideos combined
{block:MediaItem}
{:Type} -> image, video
{:Uri} -> video only
{:UriL} -> image only
{:UriS} -> image only
{:MimeType}
{/block:MediaItem}
{/block:Media}
{block:PropertyImages}
{block:Image}
{:UriL}
{:UriS}
{:IsFeatured}
{/block:Image}
{/block:PropertyImages}
{block:PropertyVideos}
{block:Video}
{:Uri}
{:IsFeatured}
{:MimeType}
{/block:Video}
{/block:PropertyVideos}
{block:Location}
{:Address}
{:City}
{:State}
{:Zip}
{:Latitude}
{:Longitude}
{/block:Location}
{block:OpenHouseList}
{block:OpenHouse}
{:Date}
{:Time}
{/block:OpenHouse}
{/block:OpenHouseList}
{block:DirectoryList}
{/block:DirectoryList}
{block:Story}
{block:StoryItem}
{:Id}
{:Order}
{:StoryItemText}
{block:StoryItemMedia} -> StoryItemImages and StoryItemVideos combined
{block:StoryItemMediaItem}
{:Type} -> image, video
{:Uri} -> video only
{:UriL} -> image only
{:UriS} -> image only
{:MimeType}
{/block:StoryItemMediaItem}
{/block:StoryItemMedia}
{block:StoryItemImages}
{block:StoryItemImage}
{:Id}
{:Order}
{:UriL}
{:UriS}
{/block:StoryItemImage}
{/block:StoryItemImages}
{block:StoryItemVideos}
{block:StoryItemVideo}
{:Id}
{:Order}
{:Uri}
{:MimeType}
{/block:StoryItemVideo}
{/block:StoryItemVideos}
{/block:StoryItem}
{/block:Story}
{/object:Property}
Object attributes
id- used to identify the object, this will be used to match the correct object when the user is updating the templatesectionsee Settingsthumbnail- preview of the object
Properties
block:DirectoryList- see Agent listblock:InfoList- name value list of the properties property objectblock:Story- user can add images along with text that tells a story of the property
Examples
How Media object works
...
...
<div class="tab-pane fade show active" id="image" role="tabpanel">
{block:Media}
<div class="slick-slider dots-white arrow-inner"
data-slick-options='{"slidesToShow": 1, "autoplay":false}'>
{block:MediaItem}
<div class="box">
<div class="item item-size-3-2">
<div class="card p-0">
{=:Type value="image"}
<a href="{:UriL}" class="card-img" data-gtf-mfp="true" data-gallery-id="03"
data-mimetype="{:MimeType}" style="background-image:url('{:UriL}')">
</a>
{/:Type}
{=:Type value="video"}
<video controls="">
<source src="{:Uri}" type="{:MimeType}">
Your browser does not support HTML5 video.
</video>
{/:Type}
</div>
</div>
</div>
{/block:MediaItem}
</div>
{/block:Media}
</div>
...
...
...
...
<div class="card-body p-0 ">
{block:Story}
{block:StoryItem}
{block:StoryItemMedia}
<div class="slick-slider mx-0 Story-Slider"
data-slick-options='{"slidesToShow": 1, "autoplay":true}'>
{block:StoryItemMediaItem}
<div class="box px-0">
<div class="card border-0">
{=:Type value="image"}
<div class="img-background-full" data-mimetype="{:MimeType}"
style="background-image: url('{:UriL}')"></div>
{/:Type}
{=:Type value="video"}
<video controls="">
<source src="{:Uri}" type="{:MimeType}">
Your browser does not support HTML5 video.
</video>
{/:Type}
</div>
</div>
{/block:StoryItemMediaItem}
</div>
{/block:StoryItemMedia}
<div class="story-description">
{:StoryItemText}
</div>
{/block:StoryItem}
{/block:Story}
</div>
...
...