Don't display user menu.

I would turn off the user menu (the menu with the icon, the name and the drop down list with logout). How can I do that?

0 votes

1 answers



To remove just the drop down list, you can only remove actions listed. Through Nuxeo Studio add XML Fragment (in Advanced) and copy that:

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    <action id="non_anonymous_logout" enabled="false"/>
    <action id="login" enabled="false"/>

But if you want also remove the username part you will need to override this resources:



<div xmlns:ui="">
  <ui:decorate template="/incl/nuxeo_header_template.xhtml">
    <ui:define name="header_user_menu_actions">
    ...Put here what you want that will override the fragment...

Anyway, be careful, if you remove this part, your user can't logout. So you will need to create your own logout action somewhere…

1 votes