From: Comit <sa...@us...> - 2006-02-03 02:41:36
|
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? - Com |
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/ |
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 > > > > |
From: Reini U. <ru...@x-...> - 2006-02-13 07:43:44
|
2006/2/12, Stefan <son...@ba...>: > I tried it but it did'nt wok > > <?plugin IncludePages pages=3D<!plugin RandomPage numpages=3D5 !> lines= =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 with 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 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. > 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 t= ried > >>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 pagename= s. > >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=3D5 !> > >syntax as page argument to IncludePages. > > > >Untested: > ><?plugin IncludePages pages=3D<!plugin RandomPage numpages=3D5 !> lines= =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). -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |
From: Stefan <son...@ba...> - 2006-02-14 10:37:16
|
I tried to make it run with newest CVS Version from today but always get=20 this error lib/WikiPlugin.php:236: Notice: =DCberfl=FCssiger M=FCll in den Zusatzpro= gramm=20 Argumenten: =BBTitleSearch s=3D'Picture' noheader=3Dtrue !> quiet=3D1=20 section=3D"Photo" sectionhead=3D0=AB tried the following combinations: <?plugin IncludePages pages=3D<?!plugin TitleSearch s=3D'Picture'=20 noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> <?plugin IncludePages pages=3D<!plugin TitleSearch s=3D'Picture'=20 noheader=3Dtrue !> quiet=3D1 section=3D"Photo" sectionhead=3D0?> <?plugin IncludePages pages=3D<?plugin TitleSearch s=3D'Picture'=20 noheader=3Dtrue ?\> quiet=3D1 section=3D"Photo" sectionhead=3D0?> allways the same result Stefan Reini Urban schrieb: >2006/2/12, Stefan <son...@ba...>: > =20 > >>I tried it but it did'nt wok >> >><?plugin IncludePages pages=3D<!plugin RandomPage numpages=3D5 !> lines= =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 with = 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 t= o 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 pagena= mes. >>>You want to present the content of the the first paragraph of 4-6 rand= om 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 !> line= s=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 > |
From: Reini U. <ru...@x-...> - 2006-02-14 14:08:49
|
2006/2/14, Stefan <son...@ba...>: > I tried to make it run with newest CVS Version from today but always get > this error > > lib/WikiPlugin.php:236: Notice: =DCberfl=FCssiger M=FCll in den Zusatzpro= gramm > 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?> <?plugin IncludePages pages=3D<!plugin-list 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?> > > allways the same result > Stefan > > Reini Urban schrieb: > > >2006/2/12, Stefan <son...@ba...>: > > > > > >>I tried it but it did'nt wok > >> > >><?plugin IncludePages pages=3D<!plugin RandomPage numpages=3D5 !> lines= =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 with = 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 > >> > >> > > > >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. > > > > > > > >>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 t= o 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 pagena= mes. > >>>You want to present the content of the the first paragraph of 4-6 rand= om 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 !> line= s=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). -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |
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 > |
From: Stefan <son...@ba...> - 2006-02-10 09:31:53
|
Would be a great feature ... I'am also looking for a way to add the the x-th paragraph (textblock) from pages having one special phrase (word) in the headline. Example Headlines: aaaa/sssss/NAME vvvvv/NAME uuuu/nnnnnn/NAME from all the pages containing NAME within the title i nedd a section with title PICTURE. Is it possible to make this with existing plugins? This feature would make our work so much easier. Stefan section 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 > > > > |
From: Stefan <son...@ba...> - 2006-02-11 10:23:03
|
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 > > > > |