Hi Gerritjan,
I am afraid I've done nothing on my own! As for the list of group
members, when a new group is created in XWiki a new "document" will
store its definition. A group is "simply" a new document with one or
various XWIKI.XWikiGroups objects. Each of those objects stores an user
belonging to a given group. You can browse/edit/remove/instantiate the
same or another class by editing the group with the object editor (by
clicking edit>object in the upper menu or by adding ?editor=object to
the edit URL).
If you edit the group with the wiki editor, you will see only...
#includeForm("XWiki.XWikiGroupSheet")
So, each time to call a group, the document will include the sheet
XWiki.XWikiGroupSheet will be in charge of rendering the page showing
the members of the group.
If you wiki-edit any user, you will onle see...
#includeForm("XWiki.XWikiUserSheet")
XWiki.XWikiUserSheet is on charge of rendering the information about any
given user.
So, you can edit these sheets or create new one using them as templates
to adjust what is shown for each of your groups/users.
For instance, to edit XWiki.XWikiGroupSheet you must enter an URL like
this...
http://your.host.here/xwiki/bin/edit/XWiki/XWikiGroupSheet?editor=wiki
Hope this helps,
Ricardo
Gerritjan Koekkoek wrote:
Hi Ricardo,
this is pretty much how I would like to see it;
can you show me how you achieved this, what is the script behind it?
Gerritjan
On 8 dec 2008, at 23:23, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote:
Hi Gerritjan,
If you want to show all the users of a given group, perhaps the page
showing the group members could help you. Something like...
http://xepecnet.environmentalchange.net/xwiki/bin/view/XWiki/XWikiTallerPCI…
Here the default card shown when using Albatross skin in a plain old
1.3.8295 XE...
http://xepecnet.environmentalchange.net/xwiki/bin/view/XWiki/smora?language…
Email is not displayed by default for security reasons. You can always
play with XWiki.XWikiUserSheet and customize it. Or even better,
create
your own users sheet based on the default one to ease the update
process.
To show the email is as simple as to read the email property from the
current user document with, for instance, $doc.display("email", $obj).
Hope this helps,
Ricardo
Gerritjan Koekkoek wrote:
Hi,
Does anybody have experience on how to show in a public user page
- a list of users of a certain group with links to a page that will
show some details per user: (like Name(s), phone, e-mail and photo)
What is the best way to layout such a card, create a stylesheet with
<div>'s?
Gerritjan
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Ricardo Rodríguez
Your EPEC Network ICT Team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Ricardo Rodríguez
Your EPEC Network ICT Team