Skip to main content

Structure

Website items found under templateItems folder, are JSON objects that represents the structure of the custom website. Users can use these websites as a starting point in designing their websites.

There are three types of websites structures: agents, property and company. The JSON property "Type" is where this can be set. Setting "Default" property will set this website structure as default when the users create their new websites.

The following is an example of the website structure.​

{
"Name": "Company complete website 1",
"Description": "Just a full company website",
"Type": "Company",
"Default": true,
"Thumbs": [
"~root/images/templateItems/company1/template_thumbnail_L.jpg",
"~root/images/templateItems/company1/template_thumbnail_L.jpg",
"~root/images/templateItems/company1/template_thumbnail_L.jpg"
],
"Pages": [],
"Footer": {
"ComponentId": "footer_1"
},
"Menu": {
"ComponentId": "menu_1"
}
}
  • Name - name of the website, this is what users will see as title
  • Description - description of the website
  • Type - type of the website, see above ...
  • Default - see above ...
  • Thumbs - collection of small screen shots or clippings to show users what this website looks like
  • Pages - pages of the website, see below for Page ...
  • Footer - footer component, see below for Component ...
  • Menu - menu component, see below for Component ...