[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar:no-css=true}

Personal Menus

Excerpt

Create custom menus specific to the logged in user or groups they are in...

Requirements

...

To create this menu, we use the following markup:

No Format

{show-to:groups=confluence-users}
* Account
** {link-to:user history}History{link-to}
** {link-to:user profile}My Profile{link-to}
** ----
** {link-to:logout}Log out{link-to}
{show-to}

...

To create this menu, we use the following markup:

No Format

{hide-from:groups=confluence-users}
* Account
** {link-to:login}Log in{link-to}
{hide-from}

...

To hide the original "Account" menu, add the following to CSS Custom Styles:

No Format

/* hide separator above view > account menu item */
.menu-separator-view-1 {
 display: none;
 visibility: false;
}

/* hide the view > account menu item and it's sub-menu */
.menu-account {
display: none;
visibility: false;
}

...