This option is used for creating property types. As you may already know from the feature list, you can use Jomres for booking hotels, apartments, cars, yachts, conference rooms and pretty much anything that can be booked on a daily basis.
Property types are also used for narrowing a search. A dropdown with the available property types can be displayed in the search features, so a visitor can choose to search only the property types that he`s interested in.
Click on the 'List property types' icon in your Jomres Control Panel and you`ll be taken to a new screen where all available property types are displayed. So let`s say that we want to create a property type for conference rooms.
Adding a property type
Click on the 'New' button above the property types list and you`ll be taken to the next screen where you can enter information about your new property type.
Enter the property type name. In our case, the property type name will be 'Conference room'.
Optional: enter the property type description (no spaces). In our case, it will be 'conferenceroom'. If you fill in this field, then a new directory called 'conferenceroom' will be created in /jomres/language and the default language file en-GB.php will be copied here. You can later edit this file to have different language strings for this property. For example, 'Book a room' can become 'Book conference room'. More details about property type specific language files can be found below.
Save the new property type.
When arriving back to the property types list screen, you`ll see the new property type you`ve just created displayed in the list.
Editing a property type
In the property types list, click on the edit icon next to the property type you want to edit. You`ll be taken to the next screen where all property type details are already filled in. Make the desired changes and save.
Deleting a property type
In the property types list, check the box associated with the property type you want to delete and click on the trash can icon above the property types list. If you try to delete a property type that has already been associated with a property, then you`ll get an error message.
Property type specific language files
In jomres, you can have different language files for each property type. This is useful for example when booking cars, conference rooms, yachts, etc. Property dependent language files are saved in /jomres/language/property_type_description. In this example, the en-GB.php language file for conference rooms will be in /jomres/language/conferenceroom. You can then use this file to make the changes you want to this property type. For example, you can change the text 'Book a room' to 'Rent this car', 'Rent this yacht', 'Book conference room' or anything you need. This language file will be used on all Jomres pages that are related to the property type (in our case conference rooms) except the property list page, where multiple property types can be displayed and jomres will use the default language file associated with your language context.
You can have more property types defined in the backend than you may need on your website, so you can easily just unpublish the property types you don`t need by clicking on the green checkmark corresponding to them.
This document is copyright Vince Wooll/Woollyinwales IT, 2011. All rights reserved.