Hi Brian,
Thanks a lot. The code provided by you would solve my problem
Regards
Syam
Brian Burns-2 wrote:
>
> Syam,
>
> When you say currently logged in, I assume you mean the user who is
> viewing
> the particular page as opposed to all users who are currently logged in?
>
> In any case, it doesn't quite make sense because a user can be a member of
> multiple groups. You can check if a user is in a particular group using
> something along the lines of:
> #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
>
> I suppose it might be possible to do some sort of $hql search to generate
> a
> list of all groups and then you could loop through them with an if
> statement
> as shown above and then generate a list of groups of which the user is a
> member.
>
> Does that answer your question? Some of the more experienced contributors
> might be able to give you more advice.
>
> Brian
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of
> syam_kg
> Sent: 13 August 2008 05:01
> To: users(a)xwiki.org
> Subject: [xwiki-users] Velocity Snipplet for getting the current user
> group
>
>
> Hi
>
> Can anybody please provide the velocity snipplet for getting the group of
> the user currently logged in
>
> Regards
> Syam
> --
> View this message in context:
> http://n2.nabble.com/Velocity-Snipplet-for-getting-the-current-user-group-tp
> 721120p721120.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>
>
--
View this message in context: http://n2.nabble.com/Velocity-Snipplet-for-getting-the-current-user-group-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Bonjour,
Je suis étudiant à l'ENSIIE (www.ensiie.fr) et je souhaiterais utiliser
XWiki dans le
cadre d'un projet. Je voudrais installer XWiki sur la distribution linux
: RedHat de
notre serveur. Cependant je ne sais pas quel fichiers d'installation
utiliser. (.war,
.xar, .jar???)
Pouvez nous dire, s'il vous plait, quels fichiers utiliser et que faut
il installer au
préalable pour faire marcher XWiki (version de jdk? ou la trouver pour
notre
distribution?)
Je vous remercie par avance de l'aide que vous pourrez nous apporter.
Bien Cordialement,
Jeremy Amode
Hello,
I'm afraid I can't access anymore to the main wiki (the one who can
manage all wikis).
I have made a few DNS / httpd.conf updates, for accessibility reasons,
but I'm not sure that main wiki worked fine just before... so I'm not
sure that's the reason.
Each wiki (included main wiki) is on a secured URL :
https://main.me.com/xwiki/bin/view/Main/https://first.me.com/xwiki/bin/view/Main/https://second.me.com/xwiki/bin/view/Main/...
I have a static page on
https://main.me.com/index.htm => OK
=> So I think DNS is not the problem, nor Apache config file.
Apache (in front of Tomcat 6.0) logs show some 302 error code.
And access to main wiki redirect to the wiki "xwiki.virtual.redirect="
defined int oxwiki.cfg.
Is there any test I can do to understand what happened to the main wiki
? thanks for any idea...
Gaëtan GUYODO
Hi
Is there any documentation available for the velocity API
objects($xwiki,$doc,$context,$request..)
in xwiki ? I am looking for the list of the methods available in these
objects and the description of each of those methods. Please help ..
Thanks in
--
View this message in context: http://n2.nabble.com/XWiki-API-Documentation-tp687413p687413.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear All,
How can I mark an XWiki space as an administrator space, so that it wouldn't
appear by default in the Navigation Panel?
Thank you for your help
Hi
I have got Xwiki Enterprise 1.5 for Windows running. I have entered some
anchors within my text by defining them within the wiki editor, e.g.
[See my anchor>#Iamananchor]
<a id="Iamananchor"></a>
1.1.1.1.1 This is some text about something
The issue I have is that as soon as I switch to the wysiwyg editor the
<a id=...> is lost.
Is there firstly a better way to define the anchors?
If not, is there a fix to the problem?
Regards
Michael
This e-mail message is intended for the above named recipient(s) only.
It may contain confidential information that is privileged. If you are not
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this e-mail and any attachment(s) is strictly prohibited.
If you have received this e-mail by error, please immediately notify the sender by
replying to this e-mail and deleting the message including any attachment(s) from your system.
Thank you in advance for your cooperation and assistance.
Hi Brian,
On Aug 6, 2008, at 10:40 AM, Brian Burns wrote:
> Vincent,
>
> Thank you for your suggestion, I have actually tried a different
> method to
> get it working. Instead of defining the image in the original
> document as
> {image:someimage.PNG} I have given the macro the documents name i.e.
> {image:someimage.PNG|document=Main.SomeDocument}. This means that
> the images
> appear when I now view them in the new page by sections.
Yep, that's exactly what I was suggesting :)
> Is there any way to make the WYSIWYG Image tool insert all images in
> the
> second format?
Not without making some modifications to the js file...
Thanks
-Vincent
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of
> Vincent Massol
> Sent: 05 August 2008 21:43
> To: XWiki Users
> Subject: Re: [xwiki-users] Attach files
>
> Hi Brian,
>
> On Aug 5, 2008, at 10:41 AM, Brian Burns wrote:
>
>> Hi guys,
>>
>>
>>
>> I am using some code to view selected sections from one wiki page in
>> another
>> results page. However, if the sections have an image the image is not
>> displayed in the new image. I assume this is because it looks for an
>> attachment on the new page. In order to fix this my stop gap
>> solution is to
>> temporarily attach all other attachments to the page.
>>
>>
>>
>> 1) I can generate a list of attachments which I loop through
>> using
>> #foreach($attachment in $attachments), could someone please tell me
>> how to
>> attach the $attachment to the current document?
>>
>> 2) Can anyone suggest a better solution than this? My problem
>> is that
>> this solution would probably work for now but it simply won't be
>> scalable
>> when there are many other documents with many other attachments.
>
> Just use the attach macro and pass to it the name of the document
> containing the attachments. Check the documentation for the attach
> macro on code.xwiki.org for more details.
>
> Thanks
> -Vincent
>
> _______________________________________________
> 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
Hi Peter,
On Jan 13, 2006, at 8:39 PM, Peter Flynn wrote:
> Another issue, albeit more minor:
> Is there a way to have XWiki not insert spaces into the page name
> when there is a capitalization change? For example, we have a page
> titled “iTunes”, but all the links to this page are rendered as “i
> Tunes”. I’ve edited the iTunes page and manually typed “iTunes”
> into the Title field on the form, but this did not help.
>
> We can always manually change all the links to “[iTunes>iTunes]”…
> but it seems like there should be a way to make XWiki respect the
> title that I entered. Any ideas?
Right now there's no way to configure this. You could extend the
XWikiLinkFilter class and override the getWikiView() method to not
render it in camel case (and register your new filter in the radeox
properties file) and put your new class in WEB-INF/classes. It's not
hard to do but requires some programming skills.
However I'm taking your request into account since we're currently
rewriting the rendering mechanism of xwiki. I think it makes sense to
display the page name as is and make it configurable if users want to
display something else.
Thanks and sorry for the delay in the answer (I've seen that you
didn't get an answer at the time I think) :)
-Vincent