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:
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
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 =
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
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 != '')
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 =
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.