[pmwiki-users] Knowing the count of pagelist before display

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Wed Nov 15 15:57:23 CST 2006


Hi list,

 

I'm using text variable and pagelist to display group of members that follow certain criteria. Ex.:

 

In the Member/Pierre page I have:

 

(:Director:John:)

 

I then use page list in John's page to show that he is the director of Pierre:

 

(:pagelist group=Members dir=John fmt=#memberperdirector:)

 

This displays a list of people supervised by John. I put the word "Supervise" before the pagelist and this is wonderful!

 

However if, inadvertently, John do not supervise anybody, I would like NOT to display the word "Supervise". In other word, I would
like to know, before results are displayed what is the count of the pagelist operation. 

 

Is this possible?

 

Pierre

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061115/1dc9c18f/attachment.html 


More information about the pmwiki-users mailing list