From: Reini U. <ru...@x-...> - 2004-12-04 10:50:23
|
> Page change UploadMechanism > Edited by: RichBlinne > http://phpwiki.sourceforge.net/phpwiki/UploadMechanism?action=diff > > UploadMechanism 21 2004-06-10T05:20:18-07:00 > UploadMechanism 22 2004-12-03T10:54:16-08:00 ... > See also [Upload] (for dummies), [phpwiki:TitleSearch?s=upload]. > > ---- > + > + It would be a nice new feature if the edit form would include the UploadPlugin. -- RichBlinne > [CategoryNextWikiDone] Just edit themes/default/templates/editpage.tmpl like this: <?php if ($user->isadmin()) { ?> <tr> <td><?= $LOCKED_CB ?> <?=_("Locked")?></td> </tr> <?php } ?> <tr> <td><?plugin UpLoad ?></td> </tr> -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Russ M. <rlm...@gm...> - 2004-12-20 02:47:43
|
Having some difficulty using the CreatePage plugin. It's simply forwarding me to a (new, unedited) page called CreatePage, which is what the "action" in the form is calling, I see. Do i have to do something from admin to activate the plugin? russ -- Russ Miller rl...@rl... 216.939.0147 /home 216.798.0264 /cell |
From: Reini U. <ru...@x-...> - 2004-12-20 09:07:06
|
Russ Miller schrieb: > Having some difficulty using the CreatePage plugin. It's simply > forwarding me to a (new, unedited) page called CreatePage, which is > what the "action" in the form is calling, I see. Do i have to do > something from admin to activate the plugin? No. You have to use it as actionpage like wiki/somepage?action=CreatePage&s=NewPage or wiki/somepage?action=CreatePage&s=NewPage&template=CategoryHomePage or as plugin-form, like: <?plugin-form CreatePage ?> in some page, and enter the new pagename into the form. All this is described at the CreatePagePlugin page. http://phpwiki.sourceforge.net/phpwiki/CreatePagePlugin -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Russ M. <rlm...@gm...> - 2004-12-20 11:37:58
|
On Mon, 20 Dec 2004 10:06:53 +0100, Reini Urban <ru...@x-...> wrote: > No. You have to use it as actionpage like > > wiki/somepage?action=CreatePage&s=NewPage or > wiki/somepage?action=CreatePage&s=NewPage&template=CategoryHomePage > > or as plugin-form, like: > > <?plugin-form CreatePage ?> > > in some page, and enter the new pagename into the form. Check, I'm doing the latter. Like I said, I enter the page I wish to create into the form and it takes me to a new, unedited page called 'CreatePage'. Additionally I found that my PluginManager page seems broken, perhaps that's a cause? I get this error after the first paragraph: lib/WikiPluginCached.php (In template 'browse') (In template 'body') (In template 'html'):35: Warning[2]: main(Cache.php): failed to open stream: No such file or directory I attempted to turn caching off when I originally set up the wiki... Poke around if you like at www.rlm3.com/wiki, I'd appreciate any advice. russ -- Russ Miller rl...@rl... 216.939.0147 /home 216.798.0264 /cell |
From: Reini U. <ru...@x-...> - 2004-12-20 13:12:22
|
Russ Miller schrieb: > On Mon, 20 Dec 2004 10:06:53 +0100, Reini Urban <ru...@x-...> wrote: >>No. You have to use it as actionpage like >> >>wiki/somepage?action=CreatePage&s=NewPage or >>wiki/somepage?action=CreatePage&s=NewPage&template=CategoryHomePage >> >>or as plugin-form, like: >> >><?plugin-form CreatePage ?> >> >>in some page, and enter the new pagename into the form. > > > Check, I'm doing the latter. Like I said, I enter the page I wish to > create into the form and it takes me to a new, unedited page called > 'CreatePage'. Additionally I found that my PluginManager page seems > broken, perhaps that's a cause? I get this error after the first > paragraph: I see. The actionpage CreatePage must exist, so that the action can be preformed. Create it with <?plugin CreatePage ?> or run ?action=upgrade. I just did that for you. > lib/WikiPluginCached.php (In template 'browse') (In template 'body') > (In template 'html'):35: Warning[2]: main(Cache.php): failed to open > stream: No such file or directory > > I attempted to turn caching off when I originally set up the wiki... Hmm. This looks strange. CreatePage is uncached. WikiPluginCached is only needed for some image creating plugins, like Ploticus, VisualWiki, TexToPng, ... Anyway, you have to provide a valid PLUGIN_CACHED_CACHE_DIR, esp. on Windows. Internal WikiDB page caching has nothing to do with plugin caching. (which caches intermediate images) > Poke around if you like at www.rlm3.com/wiki, I'd appreciate any advice. -- Reini Urban |