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 _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users