Install instructions are the same as with any block and are included in the zip file.
Unzip the zipfile
Place the directory 'time' inside the directory 'moodle/blocks/'
Copy the file lang/en/block_time.php to the directory 'moodle/lang/en/' even if you are not using English language on your site.
Visit the admin page of your moodle site for the changes to take effect
The block should now show up in the dropdown menu when you have editing turned on in a course
We are a college here and use the block to show official "College" time. Useful for making sure students are on time by our understanding of it and not theirs. This also helps for when activities are time based (chat sessions, quizzes, assignment due times) to make sure no-one misses out on activities due to slow or fast watches.
With pure e-learning sites with international clientele, a server time displayed on the site also allows for removing any possible confusions when time is referred too.
I looked at the parameters passed to the Flash movie. None of them contained anything about the time. I guess the Flash script reads the local workstation time and then displays it. I don't know anything about Flash so I can't pass a servertime to the Flash movie.
Would this be any good?
It is on the bottom right hand corner of the page. I have hidden the local "user" time and am curerntly having the block show the time as it stands on the server.
How did you do this?
The name should be: block_dual_clock.php and put into lang/en/ location. But I did the name to previent the same name in a single zip file.
There may be other text option that I don't know but the file work on my site.
i have follow all the steps above but the clock block still doesn't appear in my block menu. Currently i'm using moodle 1.5.3 on Linux.
where else should i troubleshoot to make this successfull??
I installed the clock with success with your indications, but i am looking for a GMT hour clock because it is a international course, and any other clock from this forum i tried to install pasting the code in a html block was not possible (sure because my error, i don't know very much about this...):
1- is there some way to to make the clock GMT, means London hour, and not read the computer hour ?
or 2- may i receive a sugerence how to insert another type of clock with GMT hour at my moodle ?
thanks in advance !
I have noticed that the (analog) clock block is not visible on Mozilla v 1.0.7 (but seems to work on Opera and IE).
Try using a different browser.
I am surprised to hear that it doesn't work in 1.6. Does it need updating (again)?
That means the language strings are missing. Where did you put the language file for this block? I believe it should be in en_utf8.
how can i change the time format to normal time not the military time?
I've just upgraded my site to v1.6 and the upgrade process threw out both my time block and random picture block.
I'd love to get them back on because the kids like them (and so do the staff ). Any idea when you might be able to get them upgraded for 1.6?
(I realise from recent messages that you believe they should be working for 1.6 but it's the upgrade process that threw them out, with quite a lot of errors, so I thought I'd just keep it clean and delete them.)
Genner Cerna posted an issue about the language strings being in the wrong place, but I thought Genner reported it was working now?
I postponed upgrading my site because of the mysql version my hosting provider uses being too low, so I hadn't noticed this. Can you tell me what errors show up during the upgrade?
Basically it was a string of php errors saying the blocks, or a particular file in the block directory, not found and then there's a rather nice new thing that comes up in the blocks admin section (I think) which prompts you to delete the blocks.
So I'm sorry but I didn't copy them out because I was just trying to get up and running.
I´ve installed moodle 1,6 and I'm expecting difficulties with the analogue_clock_block. When I use Firefox or Mozilla the clock does NOT appear . With Opera and IE is everything OK.
Does someone know what change should I do in order to be able to see the clock with firefox?
Thanks in advise
The clock is built using Flash. Do you have the Flash plugin installed?
What difficulties do you have? did they start showing up after upgrading to Moodle 1.6?
Yes I have flash plug-in installed (for IE and mozilla) and yes it started showing up after upgrading to Moodle 1.6.
Its funny, but sometimes the Flash-clock does show up and sometimes not... . clearing the coockeis and the cache normaly helps for the clock to be shown.
Pretty easy to do!
All i need to do is to add the generated HTML code into the html editor.
It is to easy to add the clock on your moodle site just visit the site and follow the instructions to add the clock on your profile.