[pmwiki-users] Result for pagelist

SMETS Stephane BKS-IT stephane.smets at banksys.be
Tue Jun 5 09:22:37 CDT 2007


Thanks Patrick

 -----Original Message-----
From: 	Patrick R. Michaud [mailto:pmichaud at pobox.com] 
Sent:	mardi 5 juin 2007 15:13
To:	SMETS Stephane     BKS-IT
Cc:	Pmwiki-Users (E-mail)
Subject:	Re: [pmwiki-users] Result for pagelist

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

Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg 
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."



More information about the pmwiki-users mailing list