[All Adaptavist Apps]
This macro
Excerpt |
---|
inserts the contents of the edit menu as defined in theme config into a menu definition. |
Code Block |
---|
{editmenu}
|
Property | Required | Default | Notes |
---|---|---|---|
hideanon | 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. |
unmigrated-wiki-markup
Use
this
macro
in
a
menu
definition
to
quickly
insert
the
edit
menu
defined
in
theme
configuration.
{
Code Block } {menubar} {editmenu} {menubar} {code} Which results in: {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.
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:
Code Block {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).
...