Re: [xwiki-users] Horizontal Menu like xwiki.org in Farm
I just set it as Skin and it worked but got the same menu on each wiki. Now everything is working and i got a menu for each wiki. Thank you so much caty :) Well you said you managed to put the Menu in all your wikis. How did you do that? What you find in the archive is: - WebPreferences.xml page: this sets the skin xwiki:XWikiOrgCode.Skin as the active skin. The wiki mark xwiki: means that the skin is located on your main wiki - Skin.xml page: it's a standard skin file, with the addition that it has the header.vm field overwritten and adds a reference to xwiki:XWikiOrgCode.MenuMacro. Having again the xwiki: marks means that this uses the file from the main wiki. One quick fix for your problem is instead of xwiki:XWikiOrgCode.MenuMacro put {your_subwiki_name}:XWikiOrgCode.MenuMacro or even simpler XWikiOrgCode.MenuMacro. This means that the path is no longer absolute, but relative to your subwiki. Make sure you duplicate on your subwiki the XWikiOrgCode.MenuMacro page and add any contextual content you want in it. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Horizontal Menu like xwiki.org in Farm
I managed to get the Menu in all my Wikis but there is something i dont get. How can i edit the entries? I mean i know how to edit the Menu but its always for the main wiki and i cant change it for each wiki.. Maybe its just not possible or i dont know how to do it. could anyone please help? thanks and kind regards 2012/9/13 niko dangl niko.da...@gmail.com: Hi Caty, i get the same result when i check http://jira.xwiki.org/browse/XWIKI-7016 I'm using xwiki 4.2 M2 and got this in the log. 2012-09-13 17:08:02,270 [http://192.168.10.24:8080/just/wiki/template.junese.de/view/Dashboard/WebHome] WARN c.x.x.XWiki- Exception Including Topic xwiki:XWikiOrgCode.MenuMacro com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this document is denied: XWikiOrgCode.MenuMacro not sure if its just a problem with access rights or something else but i checked that for like two hours now and dont get it :( 2012/9/13 Ecaterina Moraru (Valica) vali...@gmail.com: Maybe is this bug http://jira.xwiki.org/browse/XWIKI-7016 What version are you using? Thanks, Caty On Thu, Sep 13, 2012 at 2:32 PM, niko dangl niko.da...@gmail.com wrote: hm it seems i didnt really fix it :( now if i login as normal user i get the message Topic xwiki:XWikiOrgCode.MenuMacro does not exist. after removing the blank it was working but i was logged in as global user for installation and after switching to a normal user for the subwiki it doesnt work anymore! i guess its something within the rights but dont know where. also asked google but only found an irc archive. maybe you could help me in this case. thanks and regards, Niko 2012/9/13 Ecaterina Moraru (Valica) vali...@gmail.com: I'm glad you fixed it. Thanks, Caty On Thu, Sep 13, 2012 at 1:16 PM, niko dangl niko.da...@gmail.com wrote: Ok thats kinda embarrassing and i really feel stupid right now.. Had a blank right next to the XWikiOrgCode.Skin and now its working.. but thanks anyway. regards, niko 2012/9/13 niko dangl niko.da...@gmail.com: Hi everyone, i just created my own farm and try to build a template wiki which i can use for upcoming wikis. now i got some problems with the configuration. after searching for a menu bar like on xwiki.org i found the extension which is what i was looking for. http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wiki+Macro/XWikiOrgCode.MenuMacro-branch-xwikiorg.1.xar if i go to the main wiki i can use this menu and it works..but on my subwiki it wont work.. hopefully someone is more experienced in running a farm and culd help me out. i dont really know where to start now because i checked the rights and i think its fine. thanks so far and regards Niko ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Horizontal Menu like xwiki.org in Farm
oh i thought i could just import the menu tu each wiki and have an independet menu. but one more silly question how can i manage different menu pages for each wiki? thanks and regards, niko 2012/9/20 Ecaterina Moraru (Valica) vali...@gmail.com: Well you edit the menu by editing the page where the menu is defined. If you put the menu on all your subwikis is normal that the links are the same for each wiki, because they all link to the same page (and in a page the content in static). If you want different content for your sub wikis: you can write conditions to display other links depending on your location, or you could have different menu pages for each sub wiki. Thanks, Caty On Thu, Sep 20, 2012 at 2:40 PM, niko dangl niko.da...@gmail.com wrote: I managed to get the Menu in all my Wikis but there is something i dont get. How can i edit the entries? I mean i know how to edit the Menu but its always for the main wiki and i cant change it for each wiki.. Maybe its just not possible or i dont know how to do it. could anyone please help? thanks and kind regards 2012/9/13 niko dangl niko.da...@gmail.com: Hi Caty, i get the same result when i check http://jira.xwiki.org/browse/XWIKI-7016 I'm using xwiki 4.2 M2 and got this in the log. 2012-09-13 17:08:02,270 [ http://192.168.10.24:8080/just/wiki/template.junese.de/view/Dashboard/WebHome ] WARN c.x.x.XWiki- Exception Including Topic xwiki:XWikiOrgCode.MenuMacro com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this document is denied: XWikiOrgCode.MenuMacro not sure if its just a problem with access rights or something else but i checked that for like two hours now and dont get it :( 2012/9/13 Ecaterina Moraru (Valica) vali...@gmail.com: Maybe is this bug http://jira.xwiki.org/browse/XWIKI-7016 What version are you using? Thanks, Caty On Thu, Sep 13, 2012 at 2:32 PM, niko dangl niko.da...@gmail.com wrote: hm it seems i didnt really fix it :( now if i login as normal user i get the message Topic xwiki:XWikiOrgCode.MenuMacro does not exist. after removing the blank it was working but i was logged in as global user for installation and after switching to a normal user for the subwiki it doesnt work anymore! i guess its something within the rights but dont know where. also asked google but only found an irc archive. maybe you could help me in this case. thanks and regards, Niko 2012/9/13 Ecaterina Moraru (Valica) vali...@gmail.com: I'm glad you fixed it. Thanks, Caty On Thu, Sep 13, 2012 at 1:16 PM, niko dangl niko.da...@gmail.com wrote: Ok thats kinda embarrassing and i really feel stupid right now.. Had a blank right next to the XWikiOrgCode.Skin and now its working.. but thanks anyway. regards, niko 2012/9/13 niko dangl niko.da...@gmail.com: Hi everyone, i just created my own farm and try to build a template wiki which i can use for upcoming wikis. now i got some problems with the configuration. after searching for a menu bar like on xwiki.org i found the extension which is what i was looking for. http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wiki+Macro/XWikiOrgCode.MenuMacro-branch-xwikiorg.1.xar if i go to the main wiki i can use this menu and it works..but on my subwiki it wont work.. hopefully someone is more experienced in running a farm and culd help me out. i dont really know where to start now because i checked the rights and i think its fine. thanks so far and regards Niko ___ 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 ___ 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
[xwiki-users] Horizontal Menu like xwiki.org in Farm
Hi everyone, i just created my own farm and try to build a template wiki which i can use for upcoming wikis. now i got some problems with the configuration. after searching for a menu bar like on xwiki.org i found the extension which is what i was looking for. http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wiki+Macro/XWikiOrgCode.MenuMacro-branch-xwikiorg.1.xar if i go to the main wiki i can use this menu and it works..but on my subwiki it wont work.. hopefully someone is more experienced in running a farm and culd help me out. i dont really know where to start now because i checked the rights and i think its fine. thanks so far and regards Niko ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Horizontal Menu like xwiki.org in Farm
Ok thats kinda embarrassing and i really feel stupid right now.. Had a blank right next to the XWikiOrgCode.Skin and now its working.. but thanks anyway. regards, niko 2012/9/13 niko dangl niko.da...@gmail.com: Hi everyone, i just created my own farm and try to build a template wiki which i can use for upcoming wikis. now i got some problems with the configuration. after searching for a menu bar like on xwiki.org i found the extension which is what i was looking for. http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wiki+Macro/XWikiOrgCode.MenuMacro-branch-xwikiorg.1.xar if i go to the main wiki i can use this menu and it works..but on my subwiki it wont work.. hopefully someone is more experienced in running a farm and culd help me out. i dont really know where to start now because i checked the rights and i think its fine. thanks so far and regards Niko ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Horizontal Menu like xwiki.org in Farm
Hi Caty, i get the same result when i check http://jira.xwiki.org/browse/XWIKI-7016 I'm using xwiki 4.2 M2 and got this in the log. 2012-09-13 17:08:02,270 [http://192.168.10.24:8080/just/wiki/template.junese.de/view/Dashboard/WebHome] WARN c.x.x.XWiki- Exception Including Topic xwiki:XWikiOrgCode.MenuMacro com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this document is denied: XWikiOrgCode.MenuMacro not sure if its just a problem with access rights or something else but i checked that for like two hours now and dont get it :( 2012/9/13 Ecaterina Moraru (Valica) vali...@gmail.com: Maybe is this bug http://jira.xwiki.org/browse/XWIKI-7016 What version are you using? Thanks, Caty On Thu, Sep 13, 2012 at 2:32 PM, niko dangl niko.da...@gmail.com wrote: hm it seems i didnt really fix it :( now if i login as normal user i get the message Topic xwiki:XWikiOrgCode.MenuMacro does not exist. after removing the blank it was working but i was logged in as global user for installation and after switching to a normal user for the subwiki it doesnt work anymore! i guess its something within the rights but dont know where. also asked google but only found an irc archive. maybe you could help me in this case. thanks and regards, Niko 2012/9/13 Ecaterina Moraru (Valica) vali...@gmail.com: I'm glad you fixed it. Thanks, Caty On Thu, Sep 13, 2012 at 1:16 PM, niko dangl niko.da...@gmail.com wrote: Ok thats kinda embarrassing and i really feel stupid right now.. Had a blank right next to the XWikiOrgCode.Skin and now its working.. but thanks anyway. regards, niko 2012/9/13 niko dangl niko.da...@gmail.com: Hi everyone, i just created my own farm and try to build a template wiki which i can use for upcoming wikis. now i got some problems with the configuration. after searching for a menu bar like on xwiki.org i found the extension which is what i was looking for. http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wiki+Macro/XWikiOrgCode.MenuMacro-branch-xwikiorg.1.xar if i go to the main wiki i can use this menu and it works..but on my subwiki it wont work.. hopefully someone is more experienced in running a farm and culd help me out. i dont really know where to start now because i checked the rights and i think its fine. thanks so far and regards Niko ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Logging Problem
Thank you so much for your help :) Finally its working and you were right..had to change it in xwiki preferences. Now i only have to set up the groups :) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Logging Problem
that is what i already did but unfortunately without result. i just started with wiki and linux/unix so i dont know what to do next because i actually still dont know what my problem is and how to fix that. my LDAP part in xwiki.cfg # LDAP #- xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=192.168.220.80 xwiki.authentication.ldap.port=389 xwiki.authentication.ldap.bind_DN={0} xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.base_DN=DC=w2k,DC=rto,DC=dec,DC=com xwiki.authentication.ldap.UID_attr=cn also i cant find any logs..i thought its logged in the tomcat log files but there is nothing about ldap/connection problems. I'm at my wits' end :( ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Logging Problem
This messages shows up all the time I try to login.. 2012-01-23 13:47:49,407 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33 And the only thing about LDAP is 2012-01-16 14:08:00,565 [http://192.168.220.127:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=XWiki.AddExtensions] ERROR aultExtensionRepositoryManager - Failed to search on repository [org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository@7578bbf2] with pattern=[ldap], offset=[0] and nb=[20]. Ignore and got to next repository. But I guess this is something from the LDAP Tools extension I have installed previously and maybe that’s my problem because there is still something left in xwiki and I can’t uninstall it. We are using Active Directory on Windows Server 2003 and trying to authenticate via LDAP. Regards, Niko ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Logging Problem
thanks for that hint...i had it in the logback.xml on my local pc and just forgot to replace the file on the wiki server.. now i get some messages regarding LDAP :) this is what i get if i just start tomcat 2012-01-23 16:20:29,999 [http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication 2012-01-23 16:20:30,002 [http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 2012-01-23 16:20:30,895 [http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [class org.xwiki.bridge.event.ActionExecutedEvent (view)] 2012-01-23 16:20:30,908 [http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7Kxredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication 2012-01-23 16:20:30,908 [http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7Kxredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 2012-01-23 16:20:31,075 [http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7Kxredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33 and this comes after trying to login with AD user 2012-01-23 16:23:34,440 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication 2012-01-23 16:23:34,440 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 2012-01-23 16:23:34,441 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication 2012-01-23 16:23:34,449 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [groupofnames, groupwisedistributionlist, dynamicgroup, dynamicgroupaux, groupofuniquenames, group] 2012-01-23 16:23:34,450 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields: [member, uniquemember] 2012-01-23 16:23:34,450 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed: LDAP not activ 2012-01-23 16:23:34,451 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB 2012-01-23 16:23:34,462 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user [Niko Test] 2012-01-23 16:23:34,656 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33 i thought the authentication will start if i enter username and password in wiki.. is there a order in the xwiki.cfg LDAP configuration line? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] LDAP Logging Problem
Hi Guys, hopefully im doing right sending a mail to this list with my problem. Actually i got 2 Problems but if i can solve one the other will be gone :) One is die LDAP connection and the other is the debugging/logging function. Unfortunately i can't login with the AD users and i don't even know if there is a connection to the server. I wasted a day trying to get the debugging/logging enabled but it seems im to stupid for it :) enabled LDAP Debug Log with the log4j.properties file in WEB-INF/classes without success. log4j.logger.com.xpn.xwiki.plugin.ldap=trace log4j.logger.com.xpn.xwiki.user.impl.LDAP=trace but somehow i cant find a log or information about ldap. do i have to configure something else or add some information to the xwiki.cfg?! any help is appreciated. Systeminformation: CentOS 6.1 in a VM XWiki 3.3 Tomcat 5.5 Java 1.6 thanks and regards, Niko ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Logging Problem
Ok, it's version 3.3 so its obsolete. Is there any other way to get a logfile for this?! here the LDAP part of my xwiki.cfg could you please have a look at this? do i need the FQDN or is name/ip enough for the server config? # LDAP #- xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=ewudc01 xwiki.authentication.ldap.port=389 xwiki.authentication.ldap.bind_DN={0} xwiki.authentication.ldap.bind_pass={1} #-# The Base DN used in LDAP searches xwiki.authentication.ldap.base_DN=CN=Users,DC=w2k,DC=rto,DC=dec,DC=com regards, Niko 2012/1/20 Thomas Mortagne thomas.morta...@xwiki.com: On Fri, Jan 20, 2012 at 11:18 AM, niko dangl niko.da...@googlemail.com wrote: Hi Guys, hopefully im doing right sending a mail to this list with my problem. Actually i got 2 Problems but if i can solve one the other will be gone :) One is die LDAP connection and the other is the debugging/logging function. Unfortunately i can't login with the AD users and i don't even know if there is a connection to the server. I wasted a day trying to get the debugging/logging enabled but it seems im to stupid for it :) enabled LDAP Debug Log with the log4j.properties file in WEB-INF/classes without success. log4j.logger.com.xpn.xwiki.plugin.ldap=trace log4j.logger.com.xpn.xwiki.user.impl.LDAP=trace but somehow i cant find a log or information about ldap. do i have to configure something else or add some information to the xwiki.cfg?! What version of XWiki is it ? As indicated on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HEnableLDAPdebuglog log4j based configuration is for pre 3.1 version of XWiki. any help is appreciated. Systeminformation: CentOS 6.1 in a VM XWiki 3.3 Tomcat 5.5 Java 1.6 thanks and regards, Niko ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users