I have always thought that my users should first and foremost think of Jomres as a booking toolkit. Whilst I can provide you with the basic elements of a booking website, I leave it to my users to build their own unique sites using the extensive development tools and features available.

This blog post is a quick reminder to my users, prompted by a ticket, about a little known feature in Jomres :

Including script content in another template

 

This feature is incredibly useful, but surprisingly under-utilised, so let me put that right now.

Many people know about using shortcodes to add Jomres items to various pages/modules/widgets however this feature allows you to put one 06000 task's content into a different Jomres template.

It uses more or less the same syntax as the shortcodes, so there's nothing new to learn and this feature means that you don't need to make script changes to totally restructure a template's layout.

Go ahead and see the bottom example in the manual page, it shows you how to have a completely different property details page without needing to edit any scripts, just a template file.

To see a list of possible shortcodes, see this page in the manual. Note that this article page is not exhaustive because each site is likely to have different plugins installed, therefore each site's possible shortcode list will be different. To see your own Jomres installation's go to Administrator > Jomres > Tools > Shortcodes.

Beside the obvious "no need to modify scripts" advantage of this development feature, there's the extra advantage that you can build complete template sets of Jomres templates, utterly restructuring how it looks and feels, and then copy those templates from one server to another very easily. This makes the templates update-safe using template overrides and ridiculously simple to copy to another site if you have a network of Jomres sites.

 

 

 

Documentation

  • 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