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

Crowd Plugins and Web-Items

Steven Hicks June 22, 2011

Is there a way to put a webitem in the left subitem of all the pages?

I've tried various combinations of a web-item with different sections.

So far I have not been given sufficient evidence that:

1. The plugin was loaded [other than an OSGI confirmation that the classes in the Jar exist]

2. That it is ever being shown on ANY of the left submenus. [my goal is to have it on all, but I need at least one confirmation that its working]

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2011

Your best resource is going to be crowd itself, as it shows you the sections for web-items and sections that you'll need to use. The list of these can be obtained in the crowd-web-app/WEB-INF/classes/system-ui-plugin.xml file

e.g. To put a link in the Admin menu on the left

<web-item key="google_home" name="Google Home" section="administrationnav" weight="10">
<description key="item.google.home.desc">Simple link to google.com.</description>
<label key="item.google.home.label"/>
<link linkId="google_home"></link>
</web-item>

You've probably checked out the docs at http://confluence.atlassian.com/display/CROWDDEV/Web+Item+Plugin+Modules but these don't appear to have the correct section names listed.

Go off the source as it won't lead you astray

Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2011

So did you get it to work in the end though?

Steven Hicks June 28, 2011

The plugin no, I ended up modifying the source and adding a group membership checker to BaseAction.

Steven Hicks June 28, 2011

The problem with the source was that I was trying different combinations of *.submenu/* and the web-item would never be displayed. I never even got an indication [outside of OSGi] that the plugin was even loaded. [other than OSGi acknowledgin "heres a plugin"]

TAGS
AUG Leaders

Atlassian Community Events