Hello,
I am trying to display on a page the list of pages with a specific tag (here: ‘test’).
I succeeded with the following command.
{{velocity}}
#set ($list = $xwiki.tag.getDocumentsWithTag('test'))
#foreach($doc in $list)
$doc
#end
{{/velocity}}
But I would restrict the display with only the title of the page and not the entire path.
Currently it display :
Wiki.Page1.Page2.TitleIWantToDisplay1.WebHome
Wiki.Page1.Page2.TitleIWantToDisplay2.WebHome
Wiki.Page1.TitleIWantToDisplay3.WebHome
Wiki.Page1.Page2.Page3.TitleIWantToDisplay4.WebHome
What is the code I have to add to do this?
Thank you