Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Simple Clock block.

Simple Clock block: Difference between revisions

From MoodleDocs
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
== Features ==
== Features ==


[[Image:SimpleClockOnUSQSite.gif‎|right|alt=Simple clock block showing site theme icon and user pic]]
[[Image:SimpleClockBlockDefault.png|right|alt=Simple clock block showing site theme icon and user pic]]


* Maintains time difference between page loads
* Maintains time difference between page loads
Line 23: Line 23:


* Show server clock, user clock or both
* Show server clock, user clock or both
* Show day names
* Show seconds
* Show seconds
* Hide header/title
* Hide header/title
Line 28: Line 29:
* Change block title
* Change block title


[[Image:SimpleClockShowOptions.png|alt=Simple clock block shown with server only, client only and both]]
[[Image:SimpleClockBlockServerOnly.png|alt=Simple clock block shown with server only]]
[[Image:SimpleClockWithSeconds.gif|alt=Simple clock with seconds shown]]
[[Image:SimpleClockBlockUserOnly.png|alt=Simple clock block shown with user only]]
[[Image:SimpleClockNoHeader.gif|alt=Simple clock with seconds shown]]
[[Image:SimpleClockBlockDays.png|alt=Simple clock with days shown]]
[[Image:SimpleClockNoIcons.gif‎|alt=Simple clock with seconds shown]]
[[Image:SimpleClockBlockSeconds.png|alt=Simple clock with seconds shown]]
[[Image:SimpleClockBlockNoHeader.png‎|alt=Simple clock with no header]]
[[Image:SimpleClockBlockNoIcons.png|alt=Simple clock with no icons]]


For configuration instructions see [[blocks/simple_clock]]
For configuration instructions see [[blocks/simple_clock]]


[[Category:Contributed code]]
[[Category:Contributed code]]

Latest revision as of 01:45, 22 February 2011

Back to Blocks page

Features

Simple clock block showing site theme icon and user pic
  • Maintains time difference between page loads
  • Shows site icon and user image as clock icons

Links

Installing

The Simple Clock block is installed like other blocks (How to install a block).

Configuration

It is possible to achieve the following configurations.

  • Show server clock, user clock or both
  • Show day names
  • Show seconds
  • Hide header/title
  • Hide clock icons
  • Change block title

Simple clock block shown with server only Simple clock block shown with user only Simple clock with days shown Simple clock with seconds shown Simple clock with no header Simple clock with no icons

For configuration instructions see blocks/simple_clock