3.11. Calendar

Top  Previous  Next

 

add_listing_field

Calendar field is added to the listing type similar to a field of any other type and doesn't contain any additional settings. There is a calendar type field called AvailabilityCalendar in a basic iRealty delivery starting from version 4.4.0 (available for HomesForRent listing type).

For more information on using the availability calendar feature please refer to Availability Calendar section of the manual.

Using Calendar in Templates

To display the calendar on the listing details page include the following code into the template: {display property=FieldID}, where FieldID is the calendar field ID, as specified in the admin panel.

To add a calendar management capability to the front-end

Add the {input property=FieldID} to the listing edit form template
Add the user page with the following parameters:
oURI: /manage_calendar/
omodule: classifieds
ofunction: manage_calendar