There's a feature which you can use to run Jomres shortcodes in Joomla template files.


<?php echo run_jomres_shortcode('{jomres property_widget}'); ?>

This allows you to put Jomres shortcodes directly into template files. If Jomres isn't shown anywhere else on the page, you may need to first include the Jomres framework, which can be done by doing this (ideally in the template's index.php file)


if (!defined('_JOMRES_INITCHECK'))
define('_JOMRES_INITCHECK', 1 );

if (!defined('JOMRES_ROOT_DIRECTORY')) {
if (file_exists(dirname(__FILE__).'/../../jomres_root.php')) {
require_once (dirname(__FILE__).'/../../jomres_root.php');
} else {
define ( 'JOMRES_ROOT_DIRECTORY' , "jomres" ) ;
}
}
require_once(JOMRES_ROOT_DIRECTORY.DIRECTORY_SEPARATOR.'core-plugins'.DIRECTORY_SEPARATOR.'alternative_init'.DIRECTORY_SEPARATOR.'alt_init.php');

  • Created on .

ABOUT US

vince picDeveloped and maintained by Vince Wooll, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was released as a commercial project. Since then Jomres has become the world's oldest online booking plugin for any PHP CMS. It has been used in Joomla 1.0, 1.5, 2.5, 3 & 4 and WordPress 4, 5 & 6.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. Between 2010 and 2018 he was an integral part of the project and made many significant contributions.

Whilst not formally part of the Jomres project, Rodrigo Rocco and Vince have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous Valentina Template Override Package.

Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner.

www.jomres.net is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2022 Vince Wooll