Jump to content

Recommended Posts

A simple addon to let you place 6 world time clock onto your website.

Again totally stand alone with no core code changes. Simply copy all files into relevant sections and go to admin modules /content and install.

Clocks can be changed in admin, a table is provided in the language file showing the clocks available. You must use the label provided to select as shown below.

Pick time zone---("NewYork").innerHTML = worldClock(-5, "Namerica")

So you enter NewYork into box in admin. In the language file you can set the text to anything you like but the clock definition must be set as shown in the table.

define('MODULE_CONTENT_JCM_WORLD_TIME_CLOCK_FIX2', '-5, "Namerica"');

image.png.3fd39d8f293001458ef2e3a38b4404b9.png

that’s it Enjoy.

image.thumb.png.c2c385e0f819c5d2be3aa43dcae97583.png


 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×