[pmwiki-users] More information on "IF=" in pagelist

Kathryn Andersen kat_lists at katspace.homelinux.org
Tue Jul 17 04:29:12 CDT 2007


On Tue, Jul 17, 2007 at 11:39:17AM +0300, Mildiner, Melvyn wrote:
> 
> The pagelist page (http://pmwiki.org/wiki/PmWiki/PageLists) makes
> reference to the "IF=" option but gives no examples.
> 
>  
> 
> I'd like to create a pagelist showing all pages containing a certain
> phrase. Is a pagelist with the "IF=" feature the way to do this? If so,
> how?

No.

Just put the phrase at the end of the pagelist directive.
 
If you want a pagelist showing all pages containing the phrase
"apple pie" then you would do, for example

(:pagelist fmt=#simple "apple pie":)

Use your preferred format, of course.  And whatever other options you
wanted.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list