I want to use pagelist to list password-protected pages -  
specifically, where $PasswdRead begins with ****

I can successfully make conditions:
(:if eq '****' {(substr '{{*$FullName}$PasswdRead}' 0 4)} :) the page  
has a password!
(:if eq '***X' {(substr '{{*$FullName}$PasswdRead}' 0 4)} :) this line  
should not appear (it just proves the condition isn't always true)

But in a pagelist, this fails:
(:pagelist group=Public if="eq '****' {(substr '{{=*$FullName} 
$PasswdRead}' 0 4)}" :)

I've tried other variations of the syntax, with no success yet.

Have I just not stumbled on the right syntax? Or does pagelist not  
handle certain conditions?

Randy

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to