Hi,
On Feb 16, 2009, at 11:46 AM, Hernández Cuchí, Francisco Ricardo wrote:
Hello,
I have some pages listed in the orphaned panel, but this page have a
backlink in the backlink panel, so meybe I don´t understand the
meaning of the orphaned pages panel, but I think that a page with a
parent, is not orphaned.
* orphaned means no parent.
* backlinks means that some page points to you
If you want no parent + no backlinks then you'd need to modify the
query in your orphaned pages panel.
Thanks
-Vincent
Here is the code of the panel:
#panelheader('Páginas Huérfanas')
#set ($query = "where doc.parent is null or doc.parent='' and
doc.name <> 'WebHome' order by doc.name asc")
#foreach ($item in $xwiki.searchDocuments("${query}"))
#if ($xwiki.hasAccessLevel("view", $context.user, "$
{context.database}:${item}"))
#set($bentrydoc = $xwiki.getDocument($item))
* [${bentrydoc.fullName}]
#end
#end
#panelfooter()
Thanks for the help,
Francisco,