[pmwiki-users] Different skins for non-admins

Greg scratch at KeepTheRubberSideDown.com
Wed Oct 12 12:45:57 CDT 2005


Hans

Thank you for info. Now I have more work cut out for me. I added the  
two pieces (skin and loginLogout), but am not seeing a login, but as  
I said originally I haven't explored much. :if auth admin: sounds  
useful, but I'd better not add too many things until I get the basics  
working. Like why I can't just go to /pmwiki/ and have it work.


On Oct 12, 2005, at 12:36 AM, Hans wrote:

> Wednesday, October 12, 2005, 1:55:31 AM, Greg wrote:
>
>> I'm wondering if there can be different skins for people who aren't
>> administrators--in other words not logged in. I envision a webpage
>> that looks like many relatively simple webpages with an admin log-in
>> button that would take one to the "default" editing skin.
>>
>
> I have been creating some sites which look like normal websites, with
> just a small admin login link in the footer. clicking that takes you
> to a login page, asking for  a password. After entering the passsword
> you are seeing the site with all the normal wiki edit, upload, history
> etc etc links.
>
> I use a Gemini or Fixflow skin, and conditional markup (:if auth  
> edit:)
> mostly, in the skins action menu bars. I also use the loginlogout
> http://www.pmwiki.org/wiki/Cookbook/LoginLogout script.
> Sometimes I use (:if auth admin:) to give more options for an
> admin than are visible for a editing user/author. So logging in with
> the admin password will reveal more options, like links to set page
> attributes and group attributes.
>
> An alternative is to use the viewmodes script.
> http://www.pmwiki.org/wiki/Cookbook/ViewModes
> Some other skins use this approach.
>
> see also
> http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples
>
>
> Best,
> ~Hans
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>





More information about the pmwiki-users mailing list