[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:)
(:pagelist link={=$FullName} questionbeinganswered={{=$FullName}$Title} order=title fmt=#listpageswithanswer:)

(:pagelist link={=$FullName} questionbeinganswered={$$questionbeinganswered}  order=title fmt=title:)

(:template first:)
* {$$questionbeinganswered}
(:template each:)
** [[{=$FullName}|+]]

Good luck.


More information about the pmwiki-users mailing list