[pmwiki-users] Result for pagelist

Patrick R. Michaud pmichaud at pobox.com
Tue Jun 5 08:13:12 CDT 2007


On Tue, Jun 05, 2007 at 01:53:50PM +0200, SMETS Stephane     BKS-IT wrote:
>    Hello the list
> 
>    Is there a way to show a message like << empty pagelist result >> instead
>    of a white page when the pagelist is empty? 

If using a recent beta with (:template:) directives in the pagelist
template, try:

    (:template first:)
    (:if equal {>$Group} :)
    empty pagelist result
    (:if:)
    
If using an older version of PmWiki, it's

    (:if expr equal {<$Group} && equal {>$Group} :)
    empty pagelist result
    (:if:)

Pm



More information about the pmwiki-users mailing list