Revision [10696]

This is an old revision of MetaRefresh made by JasonHuebel on 2005-08-15 16:18:24.

 

Meta Refresh Hack


Here's a quick hack that causes the HomePage to refresh automatically every 60 seconds. Open your actions/header.php file and add these lines anywhere in the <HEAD> block:

<?php if (($this->GetPageTag() == 'HomePage') && ($this->GetMethod() == 'show')) { ?>
        <meta http-equiv="Refresh" content="60" />
        <meta http-equiv="Expires" content="0" />
<?php } ?>


You can change the refresh time (in seconds) by changing the Refresh META tag.

If you find this action useful, post a comment and let me know! Also, feel free to comment with requests for feature enhancements. --JasonHuebel


CategoryUserContributions
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki