[pmwiki-users] UserAuth
    Christian Schlatter 
    ch at schlatter.net
       
    Fri Sep  2 10:48:03 CDT 2005
    
    
  
> 3) The skin that I am using is Simple.  This defines the Edit link in 
> the  simple.tmpl file.  Could someone give me a pointer as to how I can 
> use  conditional formatting (ie hide the edit link) based upon the 
> current  users.  It confuses me as the HTML seems to be outside the 
> scope of  PmWiki's conditional markup.
There is a new template directive that allows defining PmWiki markup in 
the template. As an example, you could use
<!--markup:(:if auth edit:)[[Edit this page -> 
{$Name}?action=edit]](:if:)-->
-- everything should be on one line --
-ChristianS
    
    
More information about the pmwiki-users
mailing list