MyHome Shortcodes
Print
Modified on: Wed, 16 Oct, 2019 at 10:33 AM
[MyHome.Calendar]
| Options
- list- Whether the list of calendar items is displayed on the left hand side
|

Contact
[MyHome.Contact]
| Options
- fieldN - Define a form field where N is the field number, the value being 4 comma separated values (ie: field1="Contact 1,contact1Title,dropdown,(Title)")
- 1st value - Field label
- 2nd value - Field name
- 3rd value - Field type (text, dropdown, number, date, note)
- 4th value - Field placeholder
- dropdownN - Comma separated options where N matches fieldN
|

Documents
[MyHome.Documents]
| Options
|

FAQ
[MyHome.FAQ]
| Options
- mode - Whether display only the current questions (current) or all the questions (all)
|

Flex Fields
[MyHome.FlexFields ]
| Options
- definitionIds- list the specific flex fields which you wish to display
|

Login
[MyHome.Login]
| Options
- facebook - Whether you allow Facebook logins (Facebook app required)
CSS Classes
- .mh-if-logged-in - Only show if a user is logged in
- .mh-if-logged-out - Only show if no user is logged in
|

Login Help
[MyHome.LoginHelp]
| Options
|

Logoff
[MyHome.Logoff]
| Options
- redirect - Address to take the user to after logging off
|

Maintenance
[MyHome.MaintenanceReview]
| daylimit - 1/2 - shows or hides afternoon options
excludedays - minimum day range for review
|
[MyHome.MaintenanceIssues]
| maxissues
- Default=0 (no limit)
- 5 to limit to 5 issues etc
|
[MyHome.MaintenanceRequest]
| 90DayM=30,115
- enable the maintenance type 90DayM 30 days after handover date and up to 115 days after handover date
90DayM=30,
- enable the maintenance type 90DayM 30 days after handover date (note the trailing comma)
90DayM=disable- disable to disable the maintenance type 90DayM
- multiplejobs=true ( true= create a new Maintenance contract regardless if an existing one is open, false = do not allow creation of new maintenance contract)
- moreissues=true (true = if job exist and is active allow additional issues to be added to existing job, false = do not allow multiple issues for the same contract),(Number of days you can add new issues to an existing job)
Example:
MyHome.MaintenanceRequest 180=0,180 multipleJobs=false moreIssues=true,7
|
[MyHome.MaintenanceHeader]
|
|
[MyHome.MaintenanceConfirmation]
|
|
Notes
[MyHome.Notes]
| Options
- limit - Number of notes to display
- 0 (default - all)
- x (number of notes to limit by - newest first)
- hidenew - Whether the "add new note" form will be displayed
- hidefields - Comma-separated list of fields to hide
- none (default)
- author: note author
- subject: note subject
- body: note body
- date: note date
- showDocuments=true - to display attached documents
- predefinedSubjects=true - to enable predefined subjects in the drop down lists
|

Photos
[MyHome.Photos]
| Options
- columns - Number of columns for each row of photos
- 5 (default)
- x (number of columns from 1 to 10)
- Limit - Limit the amount of photos displayed
- slideshow - Add a "Play as Slideshow" button
- mode- Only display the latest photo as a single item
|

Stories
[MyHome.Stories]
| Options
- mode - Order in which the stories are displayed: past stories (B), current stories (C) and future stories (A)
- ABC (default)
- ACB
- BAC
- BCA
- CAB
- CBA
|

Did you find it helpful?
Yes
No
Send feedback Sorry we couldn't be helpful. Help us improve this article with your feedback.