[pmwiki-users] Fwd: pagelist of referenced items
Randy Brown
alongkiss at aprivatespot.com
Wed Aug 11 09:40:58 CDT 2010
I just noticed an omission in what I sent: you'll have to add questionbeinganswered={$$questionbeinganswered} to the pagelist line in the listpageswithanswer template.
Also, of course, each content page needs a link to each question that it answers. These links can be hidden within (:if false:) markup if you wish.
Here is the corrected markup for the "Questions answered by this theory book" page:
(:pagelist group=Question order=title fmt=#listpageslinkedtoquestion:)
(:if false:)
[[#listpageslinkedtoquestion]]
(:pagelist link={=$FullName} questionbeinganswered={{=$FullName}$Title} order=title fmt=#listpageswithanswer:)
[[#listpageslinkedtoquestionend]]
[[#listpageswithanswer]]
(:pagelist link={=$FullName} questionbeinganswered={$$questionbeinganswered} order=title fmt=title:)
[[#listpageswithanswerend]]
[[#listquestionandpagewithanswer]]
(:template first:)
* {$$questionbeinganswered}
(:template each:)
** [[{=$FullName}|+]]
(:ifend:)
Good luck.
Randy
More information about the pmwiki-users
mailing list