[pmwiki-users] Exclude pages from pagelist : link=-mylink possible ?

ABClf languefrancaise at gmail.com
Tue Jan 19 15:21:52 CST 2010


Thank you both Randy and Petko,
Indeed, there are some easy ways to exclude some pages from
trail-based pagelists.
Nice.

For my knowledge, may I ask why link param doesn't allow -My.Link when
most of other param do accept similar exclusion ?

Gilles.


2010/1/19 Petko Yotov <5ko at 5ko.fr>:
> On Tuesday 19 January 2010 03:19:16, ABClf wrote :
>> My question : is this right one can't use link=-mylink param, though
>> one can use name=-myname ?
>
> Yes.
>
>> In this case, is there some easy workaround to get the same result
>> (excluding some pages from a trail using some param) in an other way ?
>
> Some ideas :
>
> If the page names are all Etude*, you can use name=-Etude*
>
> You could add to all other pages another category like [[!Original work]] and
> in the pagelist search for link=Category.OriginalWork.
>
> If the full trail is not used for navigation, you can place something between
> the asterix "*" and the link "[[" -- anything will do, even %% or the null
> space [==] to exclude the link from the trail.
>
> On PmWiki.org, we exclude a page from the cookbook listings by adding in the
> page __no_list__, for example (:comment __no_list__:) This way, we can filter
> out the pages containing this keyword with such a pagelist:
>
>  (:pagelist [other parameters] -__no_list__ :)
>
> You could use another keyword like __etude__ if you like.
>
>> I guess I can rewrite my [[!Studies]] in a PTV, expected to work with
>> $:MyPageTextVariable=-VALUE, though this will be slower, isn'it ?
>
> Yes it will, but as you have order=$:Date, it is already slow, so I don't
> think you'll notice a difference.
>
> Petko
>



-- 
---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list