Basic Template Overrides

If you want to override Jomres' default templates, you can and it's very easy. This is useful if you want to customize jomres core templates and keep the changes when upgrading. Just copy the file(s) you want to modify from /jomres/assets/templates/(frontend or backend dir) to the override directory in your joomla or wp template_dir/html/com_jomres/

 

Note : plugin templates aren't automatically found, so in the /html/com_jomres/custom_code dir there needs to be a new file called something like j00001jr_template_name_start.class.php  (for example j00001jr_leotian_start.class.php) which defines the paths to the plugin template files. If in doubt see the templates that come with your membership.

 

In Joomla, the override files location for the core Jomres templates is /templates/template_name/html/com_jomres, and for individual Jomres plugins the path would be  /templates/template_name/html/plugin_name, for example "ajax_search_composite".

 

Similarly, for Wordpress you'd put the files into /wp-content/themes/theme_name/html/com_jomres/ and /wp-content/themes/theme_name/html/plugin_name/

For example, here's the directory tree for Jomres Leohtian in Joomla :

 

 

Property type templates

You can also have property type specific templates, so for example, if for a hotel you`d like to have some customized composite_property_details.html and for apartments some different composite_property_details.html layout, you can copy this file to property type specific subdirs, for example /templates/template_name/html/com_jomres/ptype_id , where the ptype_id is the property type id. You can get this id from Jomres admin cpanel->site structure->Property types, the id column.

Jomres Manual