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

ABClf languefrancaise at gmail.com
Fri Dec 9 11:50:30 CST 2011


Did you know {(catlist)} in
http://www.pmwiki.org/wiki/Cookbook/MarkupExpressionSamples ?

Gilles.

ps : is your page online ? I would be interested to see ;)



2011/12/9 kirpi at kirpi.it <kirpi at kirpi.it>:
> Thank you Peter and Petko for your prompt replies!
>
> Yes, it seems that enabling a variable in config.php
>
>    $FmtPV['$Links'] = '@$page["targets"]';
>
> and then just updating a line to
>
>    * [[{=$FullName}|{=$Title}]] - tags: (:pagelist group=Category
> name={{=$FullName}$Links} fmt=#csv:)
>
> does the trick!
> :-)
> As I was saying to Peter off-list, I think the result of such a
> pagelist might be very useful to any website reader, because it
> immediately "broadens" his/her interest and helps finding closely
> related concepts and ideas. All at a simple glance.
> Let's say that you go to page Category.DNA, you may see something like:
>
> James Watson and Francis Crick - tags: Discovery, Biology, DNA,
> Polymer, Nucleotides
> Thymine - tags: DNA, Nucleic acids, Adenine, Guanine, Cytosine
> Genetics - tags: Life, Science, DNA, Mutations
>
> Nice!
> Thanks again
>
> Luigi
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users



-- 

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



More information about the pmwiki-users mailing list