Re: [xwiki-users] List of all users: names and avatars; edit profile pages

2012-02-19 Thread Theresa Noisser
Hello and in this topic, too: sorry for the late reply because of my 
damned emailadress and not-html-mails... :)


The user directory is nearly the thing i was looking for, but is it 
possible to adjust the size of the images? I want to use it as a page 
for new coworkers so if someone says "for this problem you should go to 
Mr. xy" and the new one don't have a clue who Mr. xy is and how he looks 
he can look at the page to see a picture.


I had a look at the code for this UserDirectory and the page 
XWikiGroupSheet, respectively, but i didn't found an obvious way to 
change the image size. Can someone tell me how to do it? That would be 
great.

Thanks in advance,
resi.



How about the page Main/UserDirectory ?
Example: http://www.xwiki.org/xwiki/bin/view/Main/UserDirectory 



Thanks,
Caty

On Thu, Feb 16, 2012 at 12:57, Edo Beutler  wrote:

> 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 
> 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@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users 


> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users 


>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users 
 


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] categories: spaces or parent pages?

2012-02-19 Thread Theresa Noisser
Sorry for my late reply, but i can't write text emails from my private 
emailadress in my office.
So thanks for the link to the tag application, i didn't know that i can 
use tags in a structured mode.


I think i will use seperate spaces for the Workgroups and one main for 
all, which i can structure with the tags.


Thanks again,
resi.


Also you can use tags to categorize your pages, see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application 
 



Thanks,
Caty

On Thu, Feb 16, 2012 at 12:34, Maxime Sinclair 
wrote:


> Hi Theresa,
>
> In my opinion, the best way is to get one space by work group.
> It's easy to define rights, or to custumize the presentation at the
> space level.
> Regards,
> Maxime
>
> 2012/2/16 Theresa Noisser :
> > Hi,
> > i want to have our wiki categorized, since it's used as a intranet 
for a

> > company with a few different work groups. So it would be the best if
> every
> > group gets its own "category", but every coworker is able to see (and
> > possibly edit) every page. But i'm not sure what's the best way to do
> this,
> > i think the two possibilities are to use different spaces or to use
> parent
> > pages.
> > Can you tell me what the main differences are to help me with this
> decision?
> > Is it only the rights management or are there any other
> > advantages/disadvantages?
> > Thanks again,
> > resi.
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users 


> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users 


>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users 
 


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] getting translated title

2012-02-19 Thread Marius Dumitru Florea
On Sat, Feb 18, 2012 at 3:59 PM,
 wrote:
> Done! Thanks for your help! Please, see below!
> --
> Ricardo Rodríguez
> Research Management and Promotion Technician
> Health Research Institute of Santiago de Compostela (IDIS)
> http://www.idisantiago.es
> 
> From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of 
> Rodriguez Fernandez, Ricardo Julio
> Sent: 18 February 2012 00:40
> To: users@xwiki.org
> Subject: Re: [xwiki-users] getting translated title
>
> HI! Please, see below. Thanks!
> 
> From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of 
> Rodriguez Fernandez, Ricardo Julio
> Sent: 17 February 2012 23:56
> To: users@xwiki.org
> Subject: Re: [xwiki-users] getting translated title
>
>> Thanks, Marius. Please, see below.
>
> 
> From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius 
> Dumitru Florea [mariusdumitru.flo...@xwiki.com]
> Sent: 17 February 2012 18:07
> To: XWiki Users
> Subject: Re: [xwiki-users] getting translated title
>
> On Fri, Feb 17, 2012 at 6:05 PM,
>  wrote:
>> Hi!
>> _
 From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of 
 Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com]
 Sent: 17 February 2012 08:30
 To: XWiki Users
 Subject: Re: [xwiki-users] getting translated title
>>
 Hi Ricardo,
>>
>> On Fri, Feb 17, 2012 at 2:35 AM,
>>  wrote:
>>> Hello,
>>>
>>> Please, how could I get the title of a translated document to be used in a 
>>> Velocity script? Please, see an example:
>>>
>>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISAreaEndocrinology
>>>
>>> Whatever language I select, group names are already show in Spanish even 
>>> though group names exist in all three languages. For instance...
>>>
>>> atrium_km.idisantiago.es/bin/XWiki/XWikiIDISC01
>>
 I don't see the problem. For both groups, XWikiIDISAreaEndocrinology
 and XWikiIDISC01, the title changes when I change the language from
 the top right corner, below the search box. For
 XWikiIDISAreaEndocrinology I get: Endocrinology (en), Endocrinología
 (es) and Endocrinoloxía (gl). What exactly are you trying to achieve?

 Hope this helps,
 Marius
>>
>> Yeap, no problem with this page: it shows the right title once you select 
>> any of the three languages. BUT the name of the members appears always in 
>> Spanish (at least here) even though there are translations for all three 
>> languages. For instance, check this group...
>>
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISC08?language=es
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISC08?language=gl
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISC08?language=en
>>
>> This group is included in the meta-group XWikiIDISAreaEndocrinology...
>>
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISAreaEndocrinology
>>
>> But this page, the one showing all members of this area, shows its name 
>> always in Spanish (at least here) even though I use the language switch...
>>
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISAreaEndocrinology?language=es
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISAreaEndocrinology?language=gl
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISAreaEndocrinology?language=en
>>
>> It is clear to me that the language switch affects only the contents of the 
>> "main document" (in this case, XWiki/XWikiIDISAreaEndocrinology) and doesn't 
>> determine what translation of each area is shown.
>>
>> I've modified /templates/getgroupmembers.vm (XWiki Enterprise 2.4.30451) 
>> this way...
>>
>
>>    "member"   : "$mdoc.title #if($hasAdmin || $isAdvancedUser) 
>> (#if($wikiname != 'local')$wikiname:#end$m)#end",
>
> You could try to use
>
> $mdoc.translatedDocument.title
>
> or, if the language is not properly set on the XWiki context,
>
> $mdoc.getTranslatedDocument($language).title
>
> but for this you need to take the language from somewhere, a request
> parameter probably.
>
> Hope this helps,
> Marius
>
>> Thanks, Marius. Neither of these solutions did work. Please, could you 
>> point me in the right direction to find some materials to go through 
>> your proposal stated by "a request paremeter probably"?
>>
>> I'm lost with this issue. Please, chech this:
>>
>> http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISAreaEndocrinology
>>
>> getgroupmembers.vm reads this way now...
>>
>> "member"   : "$mdoc.title **$context.language** #if($hasAdmin || 
>> $isAdvancedUser) (#if($wikiname != 'local')$wikiname:#end$m)#end",
>>
>> Whatever language I select, I always read **en** in the output. Please, 
>> do you know why? Where am I wrong? Titles in Spanich, context language 
>> set to English... I'm truly lost...
>>
>> Thanks for your help!

Re: [xwiki-users] RT integration into Liferay-Portal

2012-02-19 Thread wac

Hello again,

Sorry folks, obviously this post wasn`t meant to be posted here. :-(

--Chris


Zitat von w...@yellowhippy.com:


Hello everyone,

I would like to integrate RT into our Liferay-Portal. Has anyone  
done something similar? Where would be a good point to start?


Thanks in advance,
Chris

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki integration into Liferay-Portal

2012-02-19 Thread wac

Hello everyone,

I would like to integrate XWiki into our Liferay-Portal. Has anyone  
done something similar? Where would be a good point to start? I found  
some older Post in this mailing-list, however it wasn?t clear to me if  
someone managed to get XWiki working with Liferay and if so, how.


Thanks in advance,
Chris

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] RT integration into Liferay-Portal

2012-02-19 Thread wac

Hello everyone,

I would like to integrate RT into our Liferay-Portal. Has anyone done  
something similar? Where would be a good point to start?


Thanks in advance,
Chris

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] understanding Livetable Macro (XE 2.4.30451)

2012-02-19 Thread Ricardo.Julio.Rodriguez.Fernandez
Hi all!

First of all, please, allow me to thank again all XWiki Team for this great 
framework! It could be it happens that on Sunday I'm prone to purple prose, but 
I do think I'll feel the same tomorrow morning! :-)

Now, some doubts here...

I'm not able to understand how filtering does work in Livetable Macro. For 
instance, I get a JSON file including a number of results following a modified 
getgroupmembers.vm. Here the line of getgroupmembers getting members column

"member"   : "$mdoc.getTranslatedDocument().title #if($hasAdmin || 
$isAdvancedUser) (#if($wikiname != 'local')$wikiname:#end$m)#end",

and one of the items in the JSON file...

{
"fullname" : "XWiki.XWikiIDISC04",
"prettyname"   : "XWikiIDISC04 (XWiki.XWikiIDISC04)",
"wikiname" : "local",
"memberurl": "/bin/XWiki/XWikiIDISC04",
"docurl"   : "/bin/XWiki/XWikiIDISArealNeurology",
"grayed"   : "false",
"doc_viewable" : "true",
"doc_hasadmin" : "${xwiki.hasAccessLevel('admin', $context.user, $doc)}",
"member"   : "Neurobiology   (XWiki.XWikiIDISC04)",
"member_url" : "/bin/XWiki/XWikiIDISC04",
"doc_delete_url" : 
"/bin/XWiki/XWikiIDISArealNeurology?xpage=deletegroupmember&fullname=XWiki.XWikiIDISC04&ajax=true"
   }

The Livetable Macro instance showing group membership reads...

#set($columnOptions = {
  "member" : {'link': 'auto', 'type': 'text', 'displayName': 'Research groups'},

But if I use strings content in $mdoc.getTranslatedDocument().title, I get no 
results in the filtered database. only strings in $m (showing the fullname of 
the document) work fine. You could check this behaviour on your own here...

http://atrium_km.idisantiago.es/bin/XWiki/XWikiIDISArealNeurology


Please, why? How could I use $mdoc.getTranslatedDocument().title to filter the 
list?

Thank you for your help!!!

--
Ricardo Rodríguez
Research Management and Promotion Technician
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es

Nota: A información contida nesta mensaxe e os seus posibles documentos 
adxuntos é privada e confidencial e está dirixida únicamente ó seu 
destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por 
favor elimínea. A distribución ou copia desta mensaxe non está autorizada.

Nota: La información contenida en este mensaje y sus posibles documentos 
adjuntos es privada y confidencial y está dirigida únicamente a su 
destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
por favor elimínelo. La distribución o copia de este mensaje no está autorizada.

See more languages: http://www.sergas.es/aviso_confidencialidad.htm
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users