8 Sep
2009
8 Sep
'09
8:08 a.m.
Hi Olivier, On Sep 8, 2009, at 9:48 AM, Olivier Texier wrote:
Hi all,
I am looking for a way to display in the current document the browsable list of others documents linking to it.
Example :
- Doc A has a link to doc C - Doc B has a link to doc C
In doc C, I want to have two generated links "Doc A" and "Doc B" that a user can click.
This is called backlinks. You have them listed in the Information tab at the bottom. You can add them using $doc.getBacklinks() For example in velocity: #foreach($item in $doc.getBacklinks()) * [$item] #end Thanks -Vincent
Is the solution a velocity or groovy script ?
Many thanks,
Olivier