[pmwiki-users] How to list categories used on any given page

Peter Bowers pbowers at pobox.com
Fri Dec 9 01:40:02 CST 2011


On Fri, Dec 9, 2011 at 8:30 AM, kirpi at kirpi.it <kirpi at kirpi.it> wrote:
> I am trying to use categories in a way that, when listing a given
> category, for each page I get:
>  - Title
>  - List of categories used on that page
...
> Yet I cannot find the way to list categories used on any given page.
...
>  (:if false:)
>  [[#mylist]]
>  (:template each:)
>  * [[{=$FullName}|{=$Title}]] - tags: (:pagelist group=Category
> list=normal fmt=#csv:)
>  [[#mylistend]]
>  (:ifend:)
>
> This way I get full the list comma separated categories for each listed page.
> Now, how can I now filter those specific to each page, please?

Can you just add "link={=$FullName}" to your pagelist within #mylist?
I haven't tried it, but it seems like the place I would begin...  (Or
am I mixing up links and backlinks?)

-Peter



More information about the pmwiki-users mailing list