[pmwiki-users] Limiting page lists - question or suggested feature

Patrick R. Michaud pmichaud at pobox.com
Wed Jun 1 10:48:47 CDT 2005


On Wed, Jun 01, 2005 at 09:31:39PM +1200, Simon wrote:
> See
> http://pmwiki.org/wiki/PmWiki/Directives#pagelist
> and
> http://pmwiki.org/wiki/PmWiki/PagelistsExplained
> 
> I have some supplementary questions
> 
> is the order of parameters important, eg should "order" be before 
> "fmt"," list", etc?

In general the order of parameters isn't important.

> You can specify what pages not to show, eg -HomePage -SideBar
> Say I have two pages
> 
> Green
>    and
> GreenGage
> 
> I specify -Green, and both pages are not shown in the pagelist, how can 
> I exclude the "Green" page only?

Actually, "-HomePage" and "-SideBar" will exclude any page
containing those phrases, not just the pages with those names.
The same is true for -Green -- it'll exclude any page with the
word "green" in the content somewhere.

At present there's not a built-in option for excluding individual
pages from a search.  However, you can do it yourself -- if you
add something like

    (:comment cloakpage:)

to the Green page, then use "-cloakpage" in the pagelist, it'll exclude
that page from the list, as well as any other pages containing the
phrase "cloakpage".

Pm



More information about the pmwiki-users mailing list