[pmwiki-users] excluding some pages

Simon nzskiwi at gmail.com
Fri Jan 1 03:01:12 CST 2010


Unfortunately Page text variables can include leading or trailing spaces.
Perhaps try (:Status:HIDDEN:)

http://pmwiki.org/wiki/PmWiki/PageTextVariables
<http://pmwiki.org/wiki/PmWiki/PageTextVariables>
http://www.pmwiki.org/wiki/PmWiki/PageTextVariables-Talk

2010/1/1 Piotr A. Dybczyński <dybol at amu.edu.pl>

> Hi all,
> and Happy New Year.
>
> Now my problem:
>
> There are some pages I do not want to be listed in "What's new?" list.
>
> I have managed this by including on each such a page custom variable:
>
> (:Status: HIDDEN:)
>
> And then, in my "What's new?" page I use for example:
>
> (:pagelist trail=Stud.RecentChanges $:Status=-HIDDEN count=5 fmt=#titlep
> order=-time:)
>
> Now the problem: I want to add a search box, but pages with $Status=HIDDEN
> should not be searched.
>
> I tried several syntax in (:searchbox:) directive but none was successful
> in
> excluding pages with this variable set.
>
> Any suggestions?
>
> Thanks in advance,
> Piotr
>
> --
> /**************************************************************************
>  Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University
>  homepage: http://apollo.astro.amu.edu.pl/PAD     e-mail: dybol at amu.edu.pl
> ********************************************************************PAD***/
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100101/8dacf2ba/attachment.html 


More information about the pmwiki-users mailing list