[pmwiki-users] recognizing read protection

Hans design5 at softflow.co.uk
Fri Jun 8 07:09:24 CDT 2007


Friday, June 8, 2007, 10:05:21 AM, Jabba Laci wrote:

> I tried the code below, but it always displays that the page is read
> protected, even if it is not. I don't know what I did wrong.

>> (:if expr auth admin && pageattribute read :)
>> page has read-protection
>> (:if expr auth admin && ! pageattribute read:)
>> page does not have read-protection
>> (:ifend:)

The conditional test 'pageattribute read' does not exist in pmwiki.
Tegan was only asking if something like this would be what you want.
A conditional for this still needs to be defined.
See my last post for defining just such a conditional for if a read
password is set in the page.

  ~Hans




More information about the pmwiki-users mailing list