Description

This macro

inserts the contents of the edit menu as defined in theme config into a menu definition.

Usage

{editmenu}

Parameters

Property

Required

Default

Notes

hideanon

(error)

false

If set to true the edit menu will not be output to anonymous users, a useful performance tweak for sites that are accessible to anonymous users who do not need edit privileges.

Examples

Basic Use

 

Use this macro in a menu definition to quickly insert the edit menu defined in theme configuration.

{menubar}
{editmenu}
{menubar}

Note: Depending on your privileges on this site, you might not see the edit menu above - if you don't have access to any of the edit functions, the menu will not appear.

 

Hiding from anonymous users

In many cases the Builder theme is used to allow Confluence to deliver glossy websites where the majority of users will be anonymous consumers, i.e. they won't be editing content.

Because the items in the Edit menu have to do lots of permission checking, you can improve performance of your site by hiding the menu from anonymous users:

{menubar}
{editmenu:hideanon=true}
{menubar}

You can easily add any of the menulinks (see menulink macro) to your menu bar should you require certain features to remain available (eg. adding comments, etc).

CSS Customisation

To follow.

Hints and Tips

None at present.

Frequently Asked Questions

None at present.