Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can i create a drop down web item menu to sit next to the 'Add' and 'Edit' buttons for pages in confluence?

Matt Albone January 10, 2013

I need to find out how to create a completely new drop down menu using web-items in confluence, jsut like the 'Add' and 'Tools' menu that currently exist.

I've been able to create new menu items in those existing drop down menus, and i can create an entirely new button using this code:

<web-item key="archive" name="archive" section="system.content.button"  weight="40">
    	<context-provider class="com.dneg.menu.menuoptions.MenuOptionsHelper" />
        <label>$aTitle</label>
        <link>/plugins/menuoptions/menuoptions.action?json={id:$page.id,flag:archive,status:$archive}</link>
        <icon height="16" width="16">
            <link>$aIcon</link>
        </icon>
        <conditions type="AND">
        	<condition class="com.atlassian.confluence.plugin.descriptor.web.conditions.NotPersonalSpaceCondition"/>
        	<condition class="com.atlassian.confluence.plugin.descriptor.web.conditions.CanEditSpaceStylesCondition"/>
        </conditions>
</web-item>

This is very close to what i want, but i need to be able to create a brand new drop down menu button, and then add menu opions to that.

Thanks in advance

Matt

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events