[pmwiki-users] Pagelists of multiple linkbacks

noskule noskule at gmx.net
Sun Aug 10 18:15:22 CDT 2008


Patrick R. Michaud schrieb:
> On Fri, Aug 08, 2008 at 11:26:20AM -0400, Andy Kaplan-Myrth wrote:
>   
>> Is it possible to use the 'link' option in 
>> the pagelist command to display the union of multiple categories? 
>> Something like:
>>
>> (:pagelist fmt=#headerinclude 
>> link=Category.Personal+Category.Professional count=15 list=blog 
>> order=-ctime:)
>>     
>
> This is a planned feature but it doesn't exist yet.  On 
> http://www.pmwiki.org/wiki/PmWiki/RoadMap it's given as
> "Allow link= option to do wildcards".
>   
It would be relay great if this feature would be implemented. I vote for 
it to implement it as soon as possible. So a user could simply search 
after multiple categories.
> However, I'm seriously considering Christian Ridderström's
> suggestion for being able to do set operations on pagelists:
>
>     (:pagelist link=Category.Personal     save=list1 :)
>     (:pagelist link=Category.Professional save=list2 :)
>     (:pagelist from=list1+list2 count=15 list=blog order=-ctime :)
>
> Pm
>   
hm, what would be the benefit/usecase  of this method, compared to 
wildcards?  The only thing I see is that it isn't possible to exclude 
categories.


what would be the best way implementing a category search field

In the case of wildcards it would be straight forward. Presenting a form 
filed, process the filed value to a csv and put it via pv in the pagelist

any suggestions?
nos




> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   




More information about the pmwiki-users mailing list