Re: [xwiki-users] overriding view.vm in own skin

2008-07-24 Thread rssh
On Thu, 24 Jul 2008 19:02:20 +0300, rssh wrote
> Good day, community.
> 
> Small question about customizing xwiki:
>   - I want to customize skin, by creating own skin (with name 'x'), 
> After reading http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
>  I do next sequences of steps:
> 
> a) creating directory /skins/x, 
> b) copying all files from touckan to x 
> c) changing default skin in xwiki.cfg grom touckan to x
> d) copying file templates/view.vm  to x
> e) customizing view.vm  (writing onethins inside)
> 
> Last step does not work; i. e. if I change view.vm, nothing changed 
> in xwiki.
> 
> So, question: it is such problem with my installation, or I missed something
>  during creation of skin ?
> 

self-moderation: whith ?skin=x additional parameter all works.

So: is exists way, where  xwiki.defaultskin parameter from xwiki.cfg is
incorrect ?


> --
> Ruslan Shevchenko
> GradSoft. http://www.gradsoft.ua
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

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


[xwiki-users] overriding view.vm in own skin

2008-07-24 Thread rssh

 Good day, community.

Small question about customizing xwiki:
  - I want to customize skin, by creating own skin (with name 'x'), 
After reading http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
 I do next sequences of steps:

a) creating directory /skins/x, 
b) copying all files from touckan to x 
c) changing default skin in xwiki.cfg grom touckan to x
d) copying file templates/view.vm  to x
e) customizing view.vm  (writing onethins inside)

Last step does not work; i. e. if I change view.vm, nothing changed in xwiki.

So, question: it is such problem with my installation, or I missed something
 during creation of skin ?




--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

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


[xwiki-users] Group Sync in 1.3.2 & blank spaces in user names

2008-07-24 Thread Stefan Woehrer

Is there a known problem with ldap group synchronisation in 1.3.2?

The synchronisation works fine if it's the user's first login (...if the
user is created). XWiki maps all AD groups to XWiki groups like it should.

When a admin deletes the user from the XWiki group (without changing
anything in the AD) and the user logs in again, XWiki doesn't re-map the AD
group membership to the XWiki group membership.

I have set:
xwiki.authentication.ldap.mode_group_sync=always
and for testing purposes:
xwiki.authentication.ldap.groupcache_expiration=60

The xwiki.authentication.ldap.group_mapping settings shall be fine, since it
works at least for the first login.

Or do I have to set any other parameters as well? Thank you in advance!



Plus: If the user name contains a blank space (like "AAA BBB") (please don't
ask me why.. ^^), the user itself seems to be created
correctly (I can find the user in the "Users" tab in the Administration
area), but when I list all members of a group this user belongs to, there
are two entries in that list: "XWiki.AAA" and "BBB" (without "XWiki."
before)... So there may goes something wrong when creation the relation
between the group and the user.


-- 
View this message in context: 
http://n2.nabble.com/Group-Sync-in-1.3.2---blank-spaces-in-user-names-tp580506p580506.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


[xwiki-users] LDAP Multiple Domains - Workaround

2008-07-24 Thread Stefan Woehrer

Found out a nice "workaround" (which isn't a real one of course..)

For all who experience the same problem: Create a AD-group that contains all
users that have to log into your XWiki. The users can be located in
different subdomains / servers. Then set the
xwiki.authentication.ldap.user_group parameter to that group (you have to
use the full qualified name to the group, not only the group's name).

XWiki will search in the member-Fields of that group. If the user is found
as a member, XWiki seems to try a binding with that user, which should work,
because the member field contains the full qualified name of that user
(inclusive subdomain).

Take care of the xwiki.authentication.ldap.UID_attr parameter, because most
likely you'll have it set to "sAMAccountName". However, it can be that in
the group-membership fields the user is represented by "cn", so you may have
to use the "cn" for the UID_attr and login with the cn instead of the
sAMAccountName.

(Shall I put this "guide" somewhere onto the xwiki homepage? Where would be
the best place...)

Steve
-- 
View this message in context: 
http://n2.nabble.com/LDAP-Multiple-Domains-tp510482p580443.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


[xwiki-users] [myxwiki] XWiki Enterprise 1.5 Upgrade

2008-07-24 Thread Jean-Vincent Drean
The myxwiki farm has been upgraded to XE 1.5, if you own a wiki on
myxwiki.org you should have a look at :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15

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


Re: [xwiki-users] [xwiki-devs] [ANN] XWiki Enterprise 1.5 Released

2008-07-24 Thread Vincent Massol
And here are some revamped and clean release notes:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15

Enjoy!
-Vincent

On Jul 23, 2008, at 7:09 PM, Jean-Vincent Drean wrote:

> The XWiki development team is pleased to announce the release of XWiki
> Enterprise 1.5 final.
>
> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>
> This release spanned a bit more than 2 months starting on the 16th of
> May 2008 and ending on the 23th of July 2008. During that period we
> implemented 166 issues, fixing 91 bugs and adding new features such
> as:
>
> * Brand new Administration Application (see http://tinyurl.com/4qym7w)
> * The copy page feature is now available from the top menu (Actions  
> > Copy)
> * An administrator can modify a user profile or password when
> visiting a user profile page
> * A message advising to install xwiki-enterprise-wiki is displayed in
> the importer when the wiki is empty
> * Universal Edit button support (see http://universaleditbutton.org/)
> * Lot of improvements in the LDAP authenticator
> * New Croatian translation
> * New Czech translation
> * Updated French translation
> * Updated Spanish translation
> * Updated German translation
>
> For more information see the Release notes at:
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15
>
> Thanks
> -The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Lucene search integration

2008-07-24 Thread Mihails Agafonovs
What .xar version do you use? I've got 1.4 and it works fine.
 Quoting Hosam Hassan : Yeah I managed to find it.
 Problem now that its not working. I search and nothing happens.
 I checked the configuration of the lucene and that the plugin is
there and everything seems fine
 Original Message:
 LuceneSearch is already in the .xar package, maybe you forgot
to
import it.
Quoting Hosam Hassan : Sorry for resending my message just I forgot
to put a subject
Hello Guys,
Can I get the code for that page?

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0
I want to do the same in my xwiki but I cant manage to find the code
for that.
Is it possible also to customize that table I just want to show the
pages and the scores.
Many thanks,
Cheers,
Hosam
Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
-- Ar cieņu, Mihails Links: -- [1] mailto:[EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Overwrite values from xwiki.cfg ?

2008-07-24 Thread Thomas Mortagne
On Thu, Jul 24, 2008 at 11:38 AM, Stefan Woehrer
<[EMAIL PROTECTED]> wrote:
>
>
> Thanks, great hint. So I can get those Values from the XWiki Object using
> something like: XWiki.getXWikiPreference("ldap_base_DN")
>
> The question is: How can I set them? In the API doc there isn't a

To change it you have to modify the object of class
"XWiki.XWikiPreferences" in the document "XWiki.XWikiPreferences" like
any other object. getXWikiPreference is just an helper that get the
value from the object.

> description of a public setter. Also, this only works for the current
> session, right? (That would be exactly what we need.)

No it saved in XWiki.XWikiPreference in the database document so if
you change it stay changed.

>
> Steve
>
>
>
>
> Thomas Mortagne wrote:
>>
>> Hi,
>>
>> On Tue, Jul 22, 2008 at 5:32 PM, Stefan Woehrer <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Hi,
>>>
>>> is there a way to change some values from the xwiki.cfg per POST/GET
>>> parameter or per script?
>>>
>>> The idea is to adopt the login form and add a drop down box where the
>>> users
>>> can select their current subdomain. This value should afterwards be used
>>> as
>>> value for the base_DN property.
>>
>> Yes all ldap parameters can be modified also in XWiki.XWikiPreferences
>> (even enable/disable ldap). Edit XWiki.XWikiPreference in object edit
>> mode and you will see them. To find the programmatic name of theses
>> parameters you just have to change "xwiki.authentication.ldap." by
>> "ldap_". For example xwiki.authentication.ldap.base_DN become
>> ldap_base_DN.
>>
>>>
>>> I'm refereing to the multiple ldap server problem:
>>> http://jira.xwiki.org/jira/browse/XWIKI-2577
>>>
>>> Thanks,
>>> Steve
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p576818.html
>>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
> --
> View this message in context: 
> http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p58.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] [ANN] XWiki Enterprise 1.5 Released

2008-07-24 Thread Thomas Mortagne
Hi Denis,

On Thu, Jul 24, 2008 at 11:48 AM, Vincent Massol <[EMAIL PROTECTED]> wrote:
>
> On Jul 24, 2008, at 11:37 AM, Denis Gervalle wrote:
>
>> Great news ! I have just finished to cope with your previous 1.4
>> release :)
>>
>> Now I wonder what I should do ? I need to put in production my XEM
>> server very soon, now.
>> Will it be long to have XEM 1.3 ?
>
> Probably not knowing ThomasM... ;)

Yes I will handle this on Monday (or Saturday if I have time).

>
>> I wonder if I should stay on 1.4 platform or go ahead ? Is an upgrade
>> of XEM 1.2 with the platform of the XE 1.5 a good idea or not ?

There should not be any problem as all APIs XEM 1.2 use in 1.4 should
also exist in 1.5

>
> What you can do is simply install XE 1.5 and transform it into a XEM,
> see 
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanexistingXWikiEnterpriseinstance
>
> Thanks
> -Vincent
>
>>
>> Thanks in advance for your thought about that.
>>
>> Denis
>>
>> On 23 juil. 08, at 19:09, Jean-Vincent Drean wrote:
>>
>>> The XWiki development team is pleased to announce the release of
>>> XWiki
>>> Enterprise 1.5 final.
>>>
>>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>>
>>> This release spanned a bit more than 2 months starting on the 16th of
>>> May 2008 and ending on the 23th of July 2008. During that period we
>>> implemented 166 issues, fixing 91 bugs and adding new features such
>>> as:
>>>
>>> * Brand new Administration Application (see http://tinyurl.com/
>>> 4qym7w)
>>> * The copy page feature is now available from the top menu (Actions
 Copy)
>>> * An administrator can modify a user profile or password when
>>> visiting a user profile page
>>> * A message advising to install xwiki-enterprise-wiki is displayed in
>>> the importer when the wiki is empty
>>> * Universal Edit button support (see http://universaleditbutton.org/)
>>> * Lot of improvements in the LDAP authenticator
>>> * New Croatian translation
>>> * New Czech translation
>>> * Updated French translation
>>> * Updated Spanish translation
>>> * Updated German translation
>>>
>>> For more information see the Release notes at:
>>> http://www.xwiki.org/xwiki/bin/view/Main/
>>> ReleaseNotesXWikiEnterprise15
>>>
>>> Thanks
>>> -The XWiki dev team
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] Lucene search integration

2008-07-24 Thread Hosam Hassan
Yeah I managed to find it.

Problem now that its not working. I search and nothing happens.

I checked the configuration of the lucene and that the plugin is there and 
everything seems fine

Original Message:

LuceneSearch is already in the .xar package, maybe you forgot toimport 
it. Quoting Hosam Hassan : Sorry for resending my message just I 
forgotto put a subject Hello Guys, Can I get the code for 
that page?http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0 I want to do the same in my xwiki but I cant manage to find the codefor that. Is it possible also to customize that table I just want to 
show thepages and the scores. Many thanks, Cheers, 
Hosam Ar cieņu, MihailsLinks:--[1] 
mailto:[EMAIL PROTECTED]___users mailing listusers@xwiki.orghttp://lists.xwiki.org/mailman/listinfo/users

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


Re: [xwiki-users] [ no subject ]

2008-07-24 Thread Tiago Rinck Caveden
I guess those are the line numbers.
Look at the header of the page: "Hide line numbers"
Click there and then you'll have just the code.

On Thu, Jul 24, 2008 at 11:42 AM, Hosam Hassan <[EMAIL PROTECTED]> wrote:

> Hello Tiago,
>
> I copied and pasted the code in my wiki and I got lots of weird numbers.
>
> To be more accurate I need to have this exact page in my wiki
> http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch
>
> Maybe Vincent Can help :)
>
> Cheers,
>
> Hosam
>
> Original Message:
>
> Just add one parameter (viewer=code)
> 
> 
> http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y&viewer=code
> 
> Regards,
> Tiago.
> 
> On Thu, Jul 24, 2008 at 11:26 AM, Hosam Hassan  wrote:
> 
> > Hello Guys,
> >
> > Can I get the code for that page?
> >
> >
> http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0
> >
> > I want to do the same in my xwiki but I cant manage to find the
> code for
> > that.
> >
> > Many thanks,
> >
> > Cheers,
> >
> > Hosam
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
> 
> 
> --
> Tiago Rinck Caveden
> http://caveden.multiply.com
> ___
> 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
>
>


-- 
Tiago Rinck Caveden
http://caveden.multiply.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Lucene search integration

2008-07-24 Thread Mihails Agafonovs
LuceneSearch is already in the .xar package, maybe you forgot to
import it.
 Quoting Hosam Hassan : Sorry for resending my message just I forgot
to put a subject
 Hello Guys,
 Can I get the code for that page?

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0
 I want to do the same in my xwiki but I cant manage to find the code
for that.
 Is it possible also to customize that table I just want to show the
pages and the scores.
 Many thanks,
 Cheers,
 Hosam
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise 1.5 Released

2008-07-24 Thread Vincent Massol

On Jul 24, 2008, at 11:37 AM, Denis Gervalle wrote:

> Great news ! I have just finished to cope with your previous 1.4
> release :)
>
> Now I wonder what I should do ? I need to put in production my XEM
> server very soon, now.
> Will it be long to have XEM 1.3 ?

Probably not knowing ThomasM... ;)

> I wonder if I should stay on 1.4 platform or go ahead ? Is an upgrade
> of XEM 1.2 with the platform of the XE 1.5 a good idea or not ?

What you can do is simply install XE 1.5 and transform it into a XEM,
see 
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanexistingXWikiEnterpriseinstance

Thanks
-Vincent

>
> Thanks in advance for your thought about that.
>
> Denis
>
> On 23 juil. 08, at 19:09, Jean-Vincent Drean wrote:
>
>> The XWiki development team is pleased to announce the release of  
>> XWiki
>> Enterprise 1.5 final.
>>
>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>
>> This release spanned a bit more than 2 months starting on the 16th of
>> May 2008 and ending on the 23th of July 2008. During that period we
>> implemented 166 issues, fixing 91 bugs and adding new features such
>> as:
>>
>> * Brand new Administration Application (see http://tinyurl.com/ 
>> 4qym7w)
>> * The copy page feature is now available from the top menu (Actions
>>> Copy)
>> * An administrator can modify a user profile or password when
>> visiting a user profile page
>> * A message advising to install xwiki-enterprise-wiki is displayed in
>> the importer when the wiki is empty
>> * Universal Edit button support (see http://universaleditbutton.org/)
>> * Lot of improvements in the LDAP authenticator
>> * New Croatian translation
>> * New Czech translation
>> * Updated French translation
>> * Updated Spanish translation
>> * Updated German translation
>>
>> For more information see the Release notes at:
>> http://www.xwiki.org/xwiki/bin/view/Main/ 
>> ReleaseNotesXWikiEnterprise15
>>
>> Thanks
>> -The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ no subject ]

2008-07-24 Thread Hosam Hassan
I am really sorry, The page is already in the xwiki by default ofcourse.

My problem now is that I get no results from the lucene search!

Original Message:

Hello Tiago,

I copied and pasted the code in my wiki and I got lots of weird numbers.

To be more accurate I need to have this exact page in my wiki 
http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch

Maybe Vincent Can help :)

Cheers,

Hosam

Original Message:

Just add one parameter (viewer=code)

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y&viewer=code

Regards,
Tiago.

On Thu, Jul 24, 2008 at 11:26 AM, Hosam Hassan  wrote:

> Hello Guys,
>
> Can I get the code for that page?
>
> 
http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0
>
> I want to do the same in my xwiki but I cant manage to find the 
code for
> that.
>
> Many thanks,
>
> Cheers,
>
> Hosam
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
Tiago Rinck Caveden
http://caveden.multiply.com
___
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] [ANN] XWiki Enterprise 1.5 Released

2008-07-24 Thread Denis Gervalle
Great news ! I have just finished to cope with your previous 1.4  
release :)

Now I wonder what I should do ? I need to put in production my XEM  
server very soon, now.
Will it be long to have XEM 1.3 ?
I wonder if I should stay on 1.4 platform or go ahead ? Is an upgrade  
of XEM 1.2 with the platform of the XE 1.5 a good idea or not ?
Thanks in advance for your thought about that.

Denis

On 23 juil. 08, at 19:09, Jean-Vincent Drean wrote:

> The XWiki development team is pleased to announce the release of XWiki
> Enterprise 1.5 final.
>
> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>
> This release spanned a bit more than 2 months starting on the 16th of
> May 2008 and ending on the 23th of July 2008. During that period we
> implemented 166 issues, fixing 91 bugs and adding new features such
> as:
>
> * Brand new Administration Application (see http://tinyurl.com/4qym7w)
> * The copy page feature is now available from the top menu (Actions  
> > Copy)
> * An administrator can modify a user profile or password when
> visiting a user profile page
> * A message advising to install xwiki-enterprise-wiki is displayed in
> the importer when the wiki is empty
> * Universal Edit button support (see http://universaleditbutton.org/)
> * Lot of improvements in the LDAP authenticator
> * New Croatian translation
> * New Czech translation
> * Updated French translation
> * Updated Spanish translation
> * Updated German translation
>
> For more information see the Release notes at:
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15
>
> Thanks
> -The XWiki dev team
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

--
Denis Gervalle
SOFTEC sa
http://www.softec.st

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


Re: [xwiki-users] [ no subject ]

2008-07-24 Thread Hosam Hassan
Hello Tiago,

I copied and pasted the code in my wiki and I got lots of weird numbers.

To be more accurate I need to have this exact page in my wiki 
http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch

Maybe Vincent Can help :)

Cheers,

Hosam

Original Message:

Just add one parameter (viewer=code)

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y&viewer=code

Regards,
Tiago.

On Thu, Jul 24, 2008 at 11:26 AM, Hosam Hassan  wrote:

> Hello Guys,
>
> Can I get the code for that page?
>
> http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0
>
> I want to do the same in my xwiki but I cant manage to find the code for
> that.
>
> Many thanks,
>
> Cheers,
>
> Hosam
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
Tiago Rinck Caveden
http://caveden.multiply.com
___
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] Overwrite values from xwiki.cfg ?

2008-07-24 Thread Stefan Woehrer


Thanks, great hint. So I can get those Values from the XWiki Object using
something like: XWiki.getXWikiPreference("ldap_base_DN")

The question is: How can I set them? In the API doc there isn't a
description of a public setter. Also, this only works for the current
session, right? (That would be exactly what we need.)

Steve




Thomas Mortagne wrote:
> 
> Hi,
> 
> On Tue, Jul 22, 2008 at 5:32 PM, Stefan Woehrer <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi,
>>
>> is there a way to change some values from the xwiki.cfg per POST/GET
>> parameter or per script?
>>
>> The idea is to adopt the login form and add a drop down box where the
>> users
>> can select their current subdomain. This value should afterwards be used
>> as
>> value for the base_DN property.
> 
> Yes all ldap parameters can be modified also in XWiki.XWikiPreferences
> (even enable/disable ldap). Edit XWiki.XWikiPreference in object edit
> mode and you will see them. To find the programmatic name of theses
> parameters you just have to change "xwiki.authentication.ldap." by
> "ldap_". For example xwiki.authentication.ldap.base_DN become
> ldap_base_DN.
> 
>>
>> I'm refereing to the multiple ldap server problem:
>> http://jira.xwiki.org/jira/browse/XWIKI-2577
>>
>> Thanks,
>> Steve
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p576818.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> 
> -- 
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p58.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


[xwiki-users] Lucene search integration

2008-07-24 Thread Hosam Hassan
Sorry for resending my message just I forgot to put a subject

Hello Guys,

Can I get the code for that page?

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0

I want to do the same in my xwiki but I cant manage to find the code for that.

Is it possible also to customize that table I just want to show the pages and 
the scores.

Many thanks,

Cheers,

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


Re: [xwiki-users] [ no subject ]

2008-07-24 Thread Tiago Rinck Caveden
Just add one parameter (viewer=code)

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y&viewer=code

Regards,
Tiago.

On Thu, Jul 24, 2008 at 11:26 AM, Hosam Hassan <[EMAIL PROTECTED]> wrote:

> Hello Guys,
>
> Can I get the code for that page?
>
> http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0
>
> I want to do the same in my xwiki but I cant manage to find the code for
> that.
>
> Many thanks,
>
> Cheers,
>
> Hosam
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
Tiago Rinck Caveden
http://caveden.multiply.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ no subject ]

2008-07-24 Thread Hosam Hassan
Hello Guys,

Can I get the code for that page?

http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=test&x=0&y=0

I want to do the same in my xwiki but I cant manage to find the code for that.

Many thanks,

Cheers,

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


Re: [xwiki-users] Overwrite values from xwiki.cfg ?

2008-07-24 Thread Thomas Mortagne
Hi,

On Tue, Jul 22, 2008 at 5:32 PM, Stefan Woehrer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> is there a way to change some values from the xwiki.cfg per POST/GET
> parameter or per script?
>
> The idea is to adopt the login form and add a drop down box where the users
> can select their current subdomain. This value should afterwards be used as
> value for the base_DN property.

Yes all ldap parameters can be modified also in XWiki.XWikiPreferences
(even enable/disable ldap). Edit XWiki.XWikiPreference in object edit
mode and you will see them. To find the programmatic name of theses
parameters you just have to change "xwiki.authentication.ldap." by
"ldap_". For example xwiki.authentication.ldap.base_DN become
ldap_base_DN.

>
> I'm refereing to the multiple ldap server problem:
> http://jira.xwiki.org/jira/browse/XWIKI-2577
>
> Thanks,
> Steve
>
>
>
>
> --
> View this message in context: 
> http://n2.nabble.com/Overwrite-values-from-xwiki.cfg---tp576818p576818.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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