From: Stefan <son...@ba...> - 2006-02-12 02:01:14
|
I tried it but it did'nt wok <?plugin IncludePages pages=<!plugin RandomPage numpages=5 !> lines=10 ?> we do also need a feature to add sections from Pages where as example the word "picture" is part of the title Mybe the pagename is like that aaa/bbb/picture cccc/oooo/picture And every of these pages do have a section called "Photo" Would be very very helpful to can merge this sections on one page with a plugin like <?plugin IncludePage page=<?!plugin TitleSearch s='Picture' noheader=true !> quiet=1 section="Photo" sectionhead=0?> Can we make it possible? Whould be really really helpfull for us Stefan Reini Urban schrieb: >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 tried >>using the randomquote mods but that only lets you do one per page. I'd like >>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 pages? > >That would be possible with the <!plugin RandomPage numpages=5 !> >syntax as page argument to IncludePages. > >Untested: ><?plugin IncludePages pages=<!plugin RandomPage numpages=5 !> lines=10 ?> > >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/ > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >Phpwiki-talk mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > > |