Re: [xwiki-users] Menu Application access for Unregistered Users

2014-03-25 Thread Marius Dumitru Florea
See http://jira.xwiki.org/browse/XWIKI-10171 . Check the changes in the Commits tab. On Mon, Mar 3, 2014 at 3:42 PM, DeHaynes ew1...@wayne.edu wrote: Thank you. -- View this message in context:

Re: [xwiki-users] Menu Application access for Unregistered Users

2014-03-03 Thread DeHaynes
Thank you. -- View this message in context: http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375p7589397.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org

Re: [xwiki-users] Menu Application access for Unregistered Users

2014-03-02 Thread Clemens Robbenhaar
On 02/28/2014 07:11 PM, DeHaynes wrote: I fixed it by modifying the code in Menu.MenuMacro. I wrapped it in an if($isGuest) like this. {{velocity}} #if ($isGuest) #else #set ($id = $xcontext.macro.params.id) #set ($type = $xcontext.macro.params.type) #set ($colorTheme =

[xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread DeHaynes
I am in a private wiki site used for documentation. You must be a user to see anything, so Unregistered Users can only see the login page. On my wiki I am using the Menu Application, which unregistered users do not have access to. So on the login page there is an error Failed to execute the

Re: [xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread DeHaynes
I fixed it by modifying the code in Menu.MenuMacro. I wrapped it in an if($isGuest) like this. {{velocity}} #if ($isGuest) #else #set ($id = $xcontext.macro.params.id) #set ($type = $xcontext.macro.params.type) #set ($colorTheme = $xwiki.getUserPreference('colorTheme')) #if ($!colorTheme != '')

Re: [xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread DeHaynes
I fixed this by modifying the Menu.MenuMacro in Object mode and then changing the code in the XWiki.WikiMacroClass. I added a condition that looked to see if the user was a guest. What I added is in bold below. {{velocity}} #set ($id = $xcontext.macro.params.id) #set ($type =

Re: [xwiki-users] Menu Application access for Unregistered Users

2014-02-28 Thread Hamster
Thanks for sharing DeHaynes, we were having the same issue! -- View this message in context: http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375p7589380.html Sent from the XWiki- Users mailing list archive at Nabble.com.