|
|
|
The link text (and location) is controlled through the atlassian-plugin.xml file. We need to setup a new web item to display in the correct location in the menu, with the correct text and control if this is included with a new condition based on the build number. (I have implemented exactly the same thing for the social bookmarking plugin...).
Unfortunately it looks like the base Condition interface moved packages sometime around confluence 2.3. This means we can't build a single jar that works from release 2.2-> 2.8 since the condition class needs to be declared in the plugin.xml file. Since we already bundle a different jar for pre 2.3 confluence this should be able to be done by hacking with the build a bit more. Hi Shannon,
What have you done with this so far? I noticed that the 2.2 specific plugin is failing to install because of a problem with the 'Add Diagram' link... can you please look into this? http://cpb-cp-2-2.gliffy.com/admin/plugins.action?pluginKey=com.gliffy.integration.confluence thx! -chris I've changed the way this works so the ConfluenceVersionNumber condition is only uncommented for the 2.3+ build, if you supply a web item for a location that the theme doesn't know about it doesn't get displayed anyway, so leaving the menu web item in the 2.2 build doesn't cause any problems.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This one might also be able to be solved be make the Add Diagram link text different depending on the version of Confluence that is running. Can you please look into this?
thanks!
-chris