[Pmwiki-users] PmWiki offline

Ciaran ciaranj
Wed Dec 1 03:26:17 CST 2004


Marvellous, thanks :) I've done the removing edit link bit <g> 
-ciaran


On Wed, 01 Dec 2004 11:12:26 +0100, Knut Alboldt <pmwiki at alboldt.de> wrote:
> Ciaran wrote:
> > Just FYI Pm, the nanoweb installation I discussed with you on IRC
> > t'other day worked perfectly once I modified Lock to return
> > immediately.  Which is nice.
> >
> > *However* <g> Is it possible to remove the edit action entirely via
> > local/config.php,
> 
> just enter this line:
> 
>         if ($action=='edit') $action='browse';
> 
> removing upload as well?
> 
>         if ($action=='upload') $action='browse';
> 
> That should be a very quick solution
> 
> to remove edit of non existant pages change:
> 
>         $LinkPageCreateFmt = "\$LinkText (page not found)";
> 
> Finally the edit-link should be removed from the skin.
> 
> Knut
> 


-- 
- Ciaran



More information about the pmwiki-users mailing list