[pmwiki-users] No edit link on page
Hans
design at flutesong.net
Thu Apr 7 06:22:50 CDT 2005
Thursday, April 7, 2005, 11:23:38 AM, MArco wrote:
> I dont want see "Edit Page
> <http://192.168.1.2/apache2-default/index.php?n=Main.HomePage?action=edit>
> | Page History
> <http://192.168.1.2/apache2-default/index.php?n=Main.HomePage?action=diff>
> | Wiki Help
> <http://192.168.1.2/apache2-default/index.php?n=PmWiki.TipsForEditing> |
> Print
> <http://192.168.1.2/apache2-default/index.php?n=Main.HomePage?action=print>
> | Search
> <http://192.168.1.2/apache2-default/index.php?n=Main.SearchWiki>" over
> or bottom on my page.
> where I need to modify for this ?
I am not sure which skin you use, but most likely you need to edit the
skin's template file in directory pub/skins/"skinname"/
Look for file with tmpl extension. Remove the links which got
action=edit etc inside their anchor tags like:
<a href='$PageUrl?action=edit'>$[Edit Page]</a>
Remove the whole lines from <a ...> to </a> including any seperation
characters at the end of the lines. But make a backup first of the
file, in case anything goes wrong.
If you have not specified a skin in config.php you probably use the
pmwiki default skin in pub/skins/pmwiki/
Best,
~Hans
More information about the pmwiki-users
mailing list