Jomres 10.7 is nearing completion, here I'll mention a couple of main points.

This version has been a long time coming, and it's packed with new stuff for you.

Layout

 The Property Details template has been update to put the main property image behind the rest of the content as a parallax image.

parallax

Other templates have been updated too.

The Show Confirmation has received some love based on feedback from our Telegram channel.

The Tariffs list has been updated, dragging it kicking and screaming into the century of the fruitbat, finally replacing tables with responsive markup.

Both the MRP and SRP booking forms have had their markup improved, using more fontawesome icons instead of text and the SRP booking form had a bug with layout that put the totals section in the wrong area.

Still in the booking form, the feedback messages have been moved into the totals section, and the totals section is again sticky in the sidebar, so feedback on the state of the booking should always be visible to the user.

top.html and bottom.html have had the "container" class removed. Layouts are now fluid and will adapt to the viewport, instead of being constrained.

There's a new script called disable_main_menu. It should be used in another Jomres template file like so : {jomres_script disable_main_menu} so that designers can determine on specific pages that the Jomres main menu should not be shown.

Overrides

A lot of work has gone on in this version to support overriding parts of Jomres Core and it's plugins.

To support these changes the Site Designer and Developer's guide has been significantly updated. Jomres already supported template,class and mini-component overrides, but this version goes further.

In previous versions of Jomres you would be encouraged to put your code into the /jomres/remote_plugins directory. This advice has now changed. Instead we would encourage you to locate your theme/template’s override directory and store your override files there. If you already have files/overrides in the /jomres_remote plugins directory there’s no need to move them. The 10.7 changes don’t affect existing functionality with respect to overriding those files, instead it builds upon it.

 

In this version you can now override (almost) all Jomres functions, javascript files, map styles, jquery UI css files and the Jomres router.php script.

Overrides and the REST API

The overrides mentioned in this document will also be used when using REST API endpoints. Most of them (templates/css/javascript) would not be used in that context, however classes, functions and the router will be used. When the REST API starts up it needs to detect the override directory, however for performance we don’t include any CMS frameworks at that point [snip]. This means that the REST API code does its own thing to find the overrides.

To do this it’ll scan the theme or template directories looking for /html/com_jomres and if it finds one it’ll use the files found there. This means that if you’ve got two copies of /html/com_jomres in different directories it may be using the wrong set of files.

Bear that in mind.

Guest types

If you're an existing user who prefers to use the old Guest types, I've got good news for you. In 10.6 the old guest types configuration was hidden in an effort to simplify the UI for property managers, however there are some people who prefer to use them instead of the newer Occupancy Levels guests.

Open /jomres/configuration.php and add a new line like so :

'secret_setting_use_old_guest_types' => '1',
 
When you do that, you'll be able to use the older Guest types instead (just remember that this setting will affect all properties).
 
Thanks Ally for your patience while we worked on this.

Management View

The Management view is being retired. It uses old Bootstrap 2 markup and the button that enables it, in my opinion, clutters the page so it will no longer appear.
 

Advanced tariff editing mode is back

 
Again, in 10.6, the Advanced, Standard and Normal tariff editing modes were hidden in an effort to simplify the UI for managers (and by extension the support burden for me). This is why Occupancy Levels (which replaced Guest Types) was moved back into Micromanaged properties, they gave us the best of both worlds.
 
There were a few scenarios however where Advanced will still work better than Micromanage, therefore managers will be able to swap between Advanced and Micromanage.
 
Properties that already used Normal and Standard can still edit tariffs using those modes but if they switch to Micromanage, then they can no longer switch back.

REST API

There's a new local tokens class for creating tokens that can be used by the UI to access the REST API through the user interface. The Jomres Messaging System already used something like this, but it's now been formalised with the creation of this class. See the Site Designer and Developers guide for more information.
 
Local tokens can't be edited in the API Key management page.
 
New API Key pairs now have a token automatically created for them if one doesn't already exist.
 

Conclusion

 10.7 is still being tested by Jomres users. Once I'm satisified that all issues have been resolved, then I'll release it. If you're keen to play with new functionality, you are of course welcome to play around with the Nightly branch.
 

 

 

Jomres releases, 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