[pmwiki-users] Skin

Ben Wilson dausha at gmail.com
Tue Aug 29 07:37:13 CDT 2006


On 8/28/06, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:

[snip]

> Well, I wrote KatSkin http://www.pmwiki.org/wiki/Cookbook/KatSkin
> so that one can enable "CMS mode" where all actions (except Login) are
> hidden if one isn't logged in.  (You set $KatSkinCMS = 1;)

I have a javascript that I embedded in the skin that does away with
the Login. I put the script on a <div>. Double-click the footer, and
you are magically wisked away to Delaware, er, the login prompt. The
link to the JS is below. Copy it into your pub/scripts, and put the JS
call in whichever element you want. Naturally, the editor will have to
know where to double click.

http://www.dausha.net/pub/scripts/footer.js

-- 
Ben Wilson
"All this worldly wisdom was once the unamiable heresy of some wise man." HDT




More information about the pmwiki-users mailing list