From: Stefan <son...@ba...> - 2006-02-14 17:26:57
|
I tried your last proposal <?plugin IncludePages pages=3D<!plugin-list TitleSearch s=3D'bbb'=20 noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> Test scenario: i iserted 3 pages with the following content ---------------------------- !!!Top !!Photo Only a picture !!Nothing else !!End ----------------------------- the pages have names like page/1/bbb page/2/bbb page/3/bbb Now when i start the page with the plugin all three pages are fully included in one big page. The sections are=20 ignored and the following error occured lib/WikiPlugin.php (In template 'html'):236: Notice: =DCberfl=FCssiger M=FC= ll=20 in den Zusatzprogramm Argumenten: =BBTitleSearch s=3D'bbb' noheader=3Dtru= e !>=20 quiet=3D1 section=3D"Photo" sectionhead=3D0=AB (...repeated 3 times) lib/WikiPlugin.php (In template 'html'):126: Notice: Argument =BBpages=AB= =20 nicht im Zusatzprogramm deklariert. Stefan Reini Urban schrieb: >2006/2/14, Stefan <son...@ba...>: > =20 > >>I tried to make it run with newest CVS Version from today but always ge= t >>this error >> >>lib/WikiPlugin.php:236: Notice: =DCberfl=FCssiger M=FCll in den Zusatzp= rogramm >>Argumenten: =BBTitleSearch s=3D'Picture' noheader=3Dtrue !> quiet=3D1 >>section=3D"Photo" sectionhead=3D0=AB >> >>tried the following combinations: >> >><?plugin IncludePages pages=3D<?!plugin TitleSearch s=3D'Picture' >>noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> >><?plugin IncludePages pages=3D<!plugin TitleSearch s=3D'Picture' >>noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> >> =20 >> > > ><?plugin IncludePages pages=3D<!plugin-list TitleSearch s=3D'Picture' > noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> > > =20 > >><?plugin IncludePages pages=3D<?plugin TitleSearch s=3D'Picture' >>noheader=3Dtrue ?\> quiet=3D1 section=3D"Photo" sectionhead=3D0?> >> >>allways the same result >>Stefan >> >>Reini Urban schrieb: >> >> =20 >> >>>2006/2/12, Stefan <son...@ba...>: >>> >>> >>> =20 >>> >>>>I tried it but it did'nt wok >>>> >>>><?plugin IncludePages pages=3D<!plugin RandomPage numpages=3D5 !> lin= es=3D10 ?> >>>> >>>>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 wit= h a >>>>plugin like >>>> >>>><?plugin IncludePage page=3D<?!plugin TitleSearch s=3D'Picture' >>>>noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> >>>> >>>>Can we make it possible? Whould be really really helpfull for us >>>> >>>> >>>> =20 >>>> >>>This should already work: >>><?plugin IncludePages pages=3D<?!plugin TitleSearch s=3D'Picture' >>>noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> >>> >>>Note the plural: [Pp]ages not [Pp]age >>> >>>Section by name is implemented, just section and/or paragraph >>>by numeric order not. >>> >>> >>> >>> =20 >>> >>>>Reini Urban schrieb: >>>> >>>> >>>> >>>> =20 >>>> >>>>>2006/2/3, Comit <sa...@us...>: >>>>> >>>>> >>>>> >>>>> >>>>> =20 >>>>> >>>>>>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? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> =20 >>>>>> >>>>>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 page= names. >>>>>You want to present the content of the the first paragraph of 4-6 ra= ndom pages? >>>>> >>>>>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 !> li= nes=3D10 ?> >>>>> >>>>>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). >>>>> =20 >>>>> >-- >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 f= iles >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=3Dk&kid=103432&bid#0486&dat=121642 >_______________________________________________ >Phpwiki-talk mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > =20 > |