[dokuwiki] Re: how to disable edit but leave section edit?
- From: "YC Chan" <peter.chan.yc@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 4 Sep 2007 09:26:23 +0200
Suggestion: update your template (i.e. main.php) to remove the link option
to edit the (whole) page.
Look for and comment out the call
tpl_actionlink('edit','','');
The section edit buttons would still be available to allow people to do just
that.
A more definite way is to modify html_edit ...
2007/9/4, Nikolay Vladimirov <nikolay@xxxxxxxxxxxxxxx>:
>
> Greetings!
>
> How can I disable the editing of the whole page in a way that the partial
> page editing will still work?
> The only thing I can think of is to use action plugin to check for
> $_REQUEST['lines'] on 'edit' action. Is there a slimpler way?
>
> --
> NV
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>
- Follow-Ups:
- [dokuwiki] Re: how to disable edit but leave section edit?
- From: Myron Turner
- References:
- [dokuwiki] how to disable edit but leave section edit?
- From: Nikolay Vladimirov
Other related posts:
- » [dokuwiki] how to disable edit but leave section edit?
- » [dokuwiki] Re: how to disable edit but leave section edit?
- » [dokuwiki] Re: how to disable edit but leave section edit?
- » [dokuwiki] Re: how to disable edit but leave section edit?
- » [dokuwiki] Re: how to disable edit but leave section edit?
- [dokuwiki] Re: how to disable edit but leave section edit?
- From: Myron Turner
- [dokuwiki] how to disable edit but leave section edit?
- From: Nikolay Vladimirov