Hi. The actions at the bottom of the default skin cannot be hidden, but can be
removed. The actions at the top right area, however, can be hidden.
These are just links in your own wiki page [[Site.PageActions]] where you have
something like this:
* [[{*$FullName}|View]]
* [[{*$FullName}?action=edit|Edit]]
* [[{*$FullName}?action=upload|Attach]]
(there is more wiki code, but the essential is what I extracted above).
I want these links to be displayed only if the visitor has edit permissions,
if not, to show a "Login" link :
(:if auth edit:)
* [[{*$FullName}|View]]
* [[{*$FullName}?action=edit|Edit]]
* [[{*$FullName}?action=upload|Attach]]
* [[{*$FullName}?action=logout|Logout]]
(:else:)
* [[{*$FullName}?action=login|Login]]
(:ifend:)
See http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup. If you build a custom
skin, best is to start with one that exists, and modify it for your needs.
You can even hide the "Login" link like this :
* %admin rel=nofollow% [[{*$FullName}?action=login|Login]] %%
and in your skin.css file, set
.admin a { color: white; }
.admin a:hover { color: gray; }
This way, the link is white and invisible on the white background, but if you
move the mouse cursor over it, it shows in gray. And you, as the admin, know
where this link is positioned.
See also http://www.pmwiki.org/wiki/PmWiki/WikiStyles for the %class% markup.
Thanks,
Petko
_______________________________________________
pmwiki-users mailing list
pmwiki...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
A search term that will help you is “CMS” or “Content Management System”. Pmwiki handles this capability without any difficulties.
See http://www.pmwiki.org/wiki/Cookbook/PmWikiAsACMS and http://www.pmwiki.org/wiki/Cookbook/CMSLike and http://www.pmwiki.org/wiki/Cookbook/CMSMode as the 1st 3 recipes I came upon with a quick search…
-Peter
The actions at the bottom of the default skin can be hidden with:
$HTMLStylesFmt['hidebottom'] = ' .footnav { display:none; } ';
Or, create the file pub/css/local.css and add the line
.footnav { display:none; }
Pm
paulgiacherio
paulgiacheiro.tumblr.com
Yeah, I'll second that PmWiki can be a terrific CMS- and doesn't have
to look like a typical wiki.
[http://www.villageschool.us/index.php] for example.
paulgiacherio
Indeed, one of PmWiki's primary goals has long been its use for
web site maintenance, not primarily as a wiki. See PmWikiPhilosophy #4.
Pm
--
Greg T. Grimes
Senior Network Analyst
Information Technology Services
Mississippi State University
greg....@msstate.edu
paulgaicherio
paulgiacherio.tumblr.com