[pmwiki-users] Fwd: pagelist of referenced items
Petko Yotov
5ko at 5ko.fr
Thu Aug 12 01:12:28 CDT 2010
On Wednesday 11 August 2010 17:03:17, Markus Heinzer wrote :
> I am rather looking for a (subject)
> index. Like at the end of a book where you find some of the
> notions/words used in the book together with a page number. e.g. in a
> book on eagles you will find "wing" in the index and you will see that
> this word appears on pages 23, 45 and 66.
Hello. It may be possible to use backlinks or categories for the terms and
subjects.
For example, on the content pages talking about wings, you place a line like
this:
Categories: [[!Wing]], [[!Feather]]
Then, in the index page, you have a "wing" entry:
'''Wing''' some definition.
(:pagelist link=Category.Wing:)
To have just a simple one-line list of the page titles, you can create a
custom pagelist template, either in the index page, or in Site.LocalTemplates:
(:if false:)
[[#oneline]]
[[{=$FullName}|+]] \
[[#onelineend]]
(:ifend:)
then, use the markup (:pagelist link=Category.Wing fmt=#oneline:)
Petko
More information about the pmwiki-users
mailing list