* Copy following code and save as `blog/protected/components/Clock.php`.
class Clock extends Portlet
protected function renderContent()
* Copy following code and save as `blog/protected/components/views/clock.php`.
width="140" height="140" wmode="transparent" type="application/x-shockwave-flash">
> Note. You may want to change the timezone from JST to whatever.
* Add following line to `blog/protected/views/layouts/main.php`.
<?php $this->widget('Recent Comment'); ?>
+ <?php $this->widget('Clock'); ?>
Terms & Conditions:
I am using the world clock from http://www.clocklink.com/, thus the user should obey the terms and conditions of this site, though it is free of charge.
[Updated: Feb 22, 2009]
Collection of the enhancements:
Number of downloads: 84