Hi Resi
I think you will have to write your own script for that.
First you get all users of your wiki. I don't know of an api call for
that, so you could use $services.query.xwql("from
doc.object(XWiki.XWikiUsers) as obj").execute() You could also add
e.g. "order by obj.last_name" if you like to.
The result is a list. Using #foreach you can display all the things
you want for each user.
The information about the specialities or responsibilities should be
connected somehow to the users (maybe by using groups?). You could
also consider adding additional fields to the XWiki.XWikiUsers class
to reflect your specialities and responsibilities.
How to display this information depends on how you save and connect
them to the users.
Hope this helps
Edo
On Thu, Feb 16, 2012 at 8:42 AM, Theresa Noisser <theresa.noisser(a)web.de> wrote:
Hello,
for our company intranet wiki i'd like to have a page where all coworkers
are listed with their names and pictures. I found a velocity code to give
out the useravatar (e.g. #largeUserAvatar('XWiki.username') ), but is there
a way to automatically generate a page where all the users are listed with
names and pictures (perhaps in 2 columns and with links to their profile
pages)? I only found a way to list all editors or page creators.
And second, i would like to add information to the profile pages of the
coworkers, e.g. their specialities or responsibilities. How can i do that?
Thanks in advance,
resi.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users