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]
Community moderators have prevented the ability to post new answers.
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
So did you get it to work in the end though?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The plugin no, I ended up modifying the source and adding a group membership checker to BaseAction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.