Hi Alex,
On 02/07/2011 08:30 PM, Alex Jakobsen wrote:
Hi,
We are currently using LDAP for authentication and configured it so
the users profile page gets updated with the latest information from
our Active Directory. This results in the Recently Modified panel
mainly listing user profile pages instead of regular pages.
I would like to modify the Recently Modified Panel, so
it excludes the
above mentioned profile pages. Is there a simple way to distinguish a
profile page from any other page?
User profile pages have an object of type "XWiki.XWikiUsers" attached
that holds the user information (name, password, address, etc.). You can
see this if you edit a profile page using the object editor.
To check if a document has an object of a specific type you can use
XWiki's scripting capabilities. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting and
http://platform.xwiki.org/xwiki/bin/view/DevGuide/API .
Hope this helps,
Marius
Thanks,
Alex Jakobsen
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users