|
RE : copypage functionnality: msg#00079web.wiki.phpwiki.talk
Hello again, Here are the patches for the "copypage" functionnality - The modification in editpage.php catches the copypage argument and forces this page to be chosen as the basis for edition - The modification in Calendar adds the "copypage" argument to the plugin. This way, when a user clicks on a date, the "empty" wiki page that is opened contains the same content as the copypage Page e.g. <?plugin Calendar copypage=MyChosenExistingTemplatePage?> I hope the patches have been made at the best places in the phpwiki code, and that you will be able to tweak them into the project code base. Keep me posted! Jérôme -----Message d'origine----- De : Reini Urban [mailto:rurban@xxxxxxxx] Envoyé : mercredi 17 décembre 2003 13:30 À : Jérôme WAGNER Cc : phpwiki-talk@xxxxxxxxxxxxxxxxxxxxx Objet : Re: [Phpwiki-talk] copypage functionnality please attach your patch to an email or post it at sf.net. we will review it and add it to the current CVS. very good idea indeed! Jérôme WAGNER schrieb: > I added a small patch to the sources in order to have a "copypage" > functionality : > > When doing an action=Edit©page=MyPage, > > The resulting textarea is prefilled with the content of MyPage > > This allows, via a patched Calendar plugin for example, to have a single > prefilled template every time you want to add an entry in the calendar. > > I'd like to know if there already is such a functionality in the wiki, if it > interests anyone, and how we could to do add such a thing in the code base. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | PHPWIKI crashes Apache2 on windows: 00079, Peter |
|---|---|
| Next by Date: | Re: have a "menu" on all pages?: 00079, Norberto Meijome |
| Previous by Thread: | Re: copypage functionnalityi: 00079, Reini Urban |
| Next by Thread: | Re: Configuration of this list: Reply-To:, acceptance: 00079, John Kershaw |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |