There are several ways of producing random images in a wiki page. Eg see http://pmwiki.org/wiki/Cookbook/RandomQuote or http://pmwiki.org/wiki/Cookbook/ThumbList
I'd create a wiki page with a random image, and the include the wiki page in the .tmpl file, eg eg, add this line <!--wiki:$DefaultGroup.RandomImagePageName--> Change group name and page name as you require Simon PS I hope that PmWiki will, in a future release, out of the box treat the PageHeader and PageFooter etc in the same way as it treats PageLeft - ie the sidebar, as an included wiki page. 2008/10/2 Ilia Ovechkin <[EMAIL PROTECTED]>: > > > Begin forwarded message: > > From: Ilia Ovechkin <[EMAIL PROTECTED]> > Date: October 1, 2008 2:54:00 PM EDT > To: [email protected] > Subject: PHP inside .tmpl > Hi > I have a fairly simple question (at least i hope) > > I would like to be able to include <?php include > "$SkinDirUrl/randomimage.php"; ?> inside of the .tmpl file which references > a php file inside the skin folder. > > Is there documentation for how this should be done? > > The question was also posted at PITS: http://www.pmwiki.org/wiki/PITS/01050 > Thank you, > Ilia Ovechkin > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > -- http://kiwiwiki.co.nz _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
