From: Reini U. <ru...@x-...> - 2006-02-10 07:52:30
|
2006/2/3, Comit <sa...@us...>: > Hi everyone. First time poster, long time pmwiki user. > > I wanted to set up a 'Did you know' to the front page of the wiki. I tri= ed > using the randomquote mods but that only lets you do one per page. I'd l= ike > to have about 4-6, similar to what mediawiki pages do. Any idea how to go > about setting this up? Sorry for the delay. I'll try to reword the question in phpwiki terms. We have RandomPage plugin which lists a list of up to random 10 pagenames. You want to present the content of the the first paragraph of 4-6 random pa= ges? That would be possible with the <!plugin RandomPage numpages=3D5 !> syntax as page argument to IncludePages. Untested: <?plugin IncludePages pages=3D<!plugin RandomPage numpages=3D5 !> lines=3D1= 0 ?> Including the first paragraph is only possible if you know the exact name of the heading. I'll probably add support to use the x-th paragraph (textblock) or section (all blocks in this heading). -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |