[pmwiki-users] A better way of making an index?

Martin Fick mogulguy at yahoo.com
Wed Jan 24 18:56:47 CST 2007


--- Jan Erik Moström <lists at mostrom.pp.se> wrote:

> I want to have a wiki with different sections
> (mapped to 
> groups). The pages in a section might have
> categories. What I 
> would like to have is an index that looks like this:
> 
> SectionX
>    CatA
>    CatB
> 
> SectionY
>    CatA
>    CatB
> 
> if I click on a 'CatA' link to want to see all pages
> in that 
> section that has the 'CatA' category.
> 
> I can do this by linking each category listing to a
> page that 
> has a pagelist directive on it.
> 
> My question is: can this be done without having the
> pagelist 
> pages? that is, is there a way to create a link that
> would do 
> the search and generate a temporary page (one that
> doesn't 
> really exist in the wiki)?
> 
> Why do I ask? Well, it seems unnecessary to create a
> number of 
> pages that only contains slight variations of the
> same pagelist directive.


I think that with the HttpVariables recipe you could
easily do this.  Simple create one page with a
pagelist in it and all of your parameters defined by
GET parameters.  Something like:

(:pagelist group={$?Group} link={$?Category} :)


-Martin



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 




More information about the pmwiki-users mailing list