Pascal, for this kind of problems a jira.xwiki.org issue is much better than a mail.
Thanks, Caty On Thu, Oct 23, 2014 at 4:42 PM, Pascal BASTIEN <[email protected]> wrote: > Hi, > I encountered a probem with my /skins/flamingo/menus_create.vm. I had > "Create" button empty and I wondered why. > > I tried to debug and I found that $hasCreateSpace was true but with ACL it > must be false (it was false in page content). > > To fix it I must insert this line > > #set ($hasCreateSpace = $xwiki.hasAccessLevel('edit', > "${reservedSpaceName}.DocumentReservedForInternalXWikiUsage")) > before > #set($displayCreateSubmenu= $hasCreateSpace || $hasCreatePage || > $displayCreateWiki) > > Perhaps #template("xwikivars.vm") is missing at the begining of > menus_create.vm? > > Could you check it? > Thanks > > Pascal BASTIEN > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

