Skip to main content

Documentation: Opening Hours module

Note: This documentation applies to Opening Hours Module v6. Not all options/features might not be available in older versions.
For v4 visit our legacy docs.

Content plugin

The Opening Hours Content plugin is only available in the PRO version.
Unlock this and other features by upgrading to Joomill Opening Hours PRO

Go PRO

Opening Hours module v6.0.0 Beta 2 or later is required

This plugin allows you to show or hide content in Joomla articles and modules (based on your settings from the Opening Hours module)

When you use this a custom HTML module, make sure you enable the prepare content option in the options tab of the custom HTML module.

Current Status Shortcode:

You use a shortcode like this and the text will only be visible if the business is currently open (or closed, if you set status="closed")

{openinghours status="open"}Your text when open here{/openinghours}

optional: When you have multiple modules, you can target a specific module with module="MODULE-ID".

{openinghours status="closed" module="114"}Your closed text here{/openinghours}

Today Shortcode:

{opentoday}Your text when you are open today{/opentoday}

{closedtoday}Your text when you are closed today{/closedtoday}

optional: When you have multiple modules, you can target a specific module with module="MODULE-ID".

{opentoday module="114"}Your text when you are open today{/opentoday}

{exceptionaltoday} Your text when today has exceptional openinghours {/exceptionaltoday} - Conditional content shown only if there are any exceptional opening hours for today

Example: {opentoday}Today we are open from {opentime} till {closetime}. {/opentoday}

Dynamic tags:

Inside the shortcodes you can add these dynamic tags:

{opentime} - Show the 1st openingshours of today

{closetime} - Show the 1st closinghours of today

{opentime2} - Show the 2nd openingshours of today

{closetime2} - Show the 2nd closinghours of today

{currentdate} - Show the current date (based on the settings of the module)

{currenttime} - Show the current time (based on the settings of the module)

optional: When you have multiple modules, you can target a specific module with module="MODULE-ID".

Example: {opentime module="114"}

The date- and timeformat used in this plugin is based on the settings of the module. you can override this with the format-attribute inside the tag.

Example: {currentdate format="d-m-Y"}

Example: {closetime format="H:i"}

 

Configuration is not applicable: just enable the plugin and you are good to go!