|
Cookbook /
RotateMarkupSummary: Insert rotating images or markup
Version: obsolete
Status: Obsolete -- use Cookbook.RandomQuote
Maintainer: Pm
Prerequisites: pmwiki-2.0.0
Categories:
Votes:
This recipe is obsolete -- see Cookbook.RandomQuote for an improved recipe.
DescriptionTo use this script, the administrator defines $RotateMarkup['default'] as an array of markups to be substituted for the
$RotateMarkup['default'] = array(
'http://www.pmwiki.org/',
'http://www.pmwiki.org/pmwiki/pub/skins/pmwiki/pmwiki-32.gif',
'[[PITS.PITS | PITS Home Page]]',
'[[Cookbook:WikiSmileys | http://www.pmwiki.org/pmwiki/pub/smileys/happy.gif]]',
'%red% The PmWikiPhilosophy is excellent! %%'
);
$RotateMarkupFreq = 5;
$EnableIMSCaching = 0;
include_once('cookbook/rotatemarkup.php');
When the
The variable $RotateMarkupFreq specifies how often the markup should be changed -- this page is configured to change the markup every five seconds. Thus, if you reload this page every five seconds you should see a different output in the example above. Notes
See AlsoContributors
Questions |