{Composition-Setup} {Deck....} problem with Confluence 3.0
I was using {Composition-Setup} and {Deck... macros and it doesn't work properly after updating to Confluence 3.0.
It shows the first card as text only... like this
Card 1
Card 1 contents
Any idea if this is an identified bug?
It shows the first card as text only... like this
Card 1
Card 1 contents
Any idea if this is an identified bug?
9
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
The best solution from the company
-
Hi,
Yes, we were indeed contemplating to release 2.3.3. :)
I have just released 2.3.4 - http://www.customware.net/repository/...
Please give it an hour or so from this post to be updated and shown @ http://www.customware.net/repository/....
Cheers!
The company says
this solves the problem
-
Inappropriate?Hi Fabian,
Please log it under the JIRA project for the plugin so it can be scheduled. We are expecting a lot of small glitches as 3.0 is a major change and expect to be ready between 30-60 days after a major release for atlassian for our free plug-ins.
regards,
-Rob -
Inappropriate?I've seen this problem as well, and I've found out what's going on.
The tabs are all there: they are just printed in white-on-white. To see for yourself, highlight the text on you page by pressing ctrl+A or something.
A quick fix is to add color, like this:
{composition-setup}
deck.memory.duration=5
deck.tab.active.background=#3355ff
deck.tab.inactive.background=#3355ff
deck.card.border=1px solid #3355ff
{composition-setup}
I haven't been able to figure out how to add the color back globally either.
If anyone knows how to edit global styles for the composition plugin, please post: my users are navigating to pages and complaining of lost content.
I’m frustrated
-
Inappropriate?From the source of the page, you can see where the css is coming from:
http://[yoursite]//confluence/styles/main-action.css?pluginCompleteKey=net.customware.confluence.plugin.composition:composition-setup&stylesheetName=deck
You can also see that the overrides in my previous comment are added right after the CSS is included here.
If that CSS can be found in the plugin, it should be possible add this to the end:
.deck .tabBar .tab a {
background: #3355ff;
}
.deck .tabBar #current.tab a {
background : #3355ff;
border-bottom: solid #3355ff;
}
.deck .cards.tabbed {border: 1px solid #3355ff;
}
to apply the styles globally. Will post back when I've got it. -
Inappropriate?Solution:
1. Download the jar
2. Change the extension to .zip
3. unzip it
4. Open composition-plugin-2.3.2/net/customware/confluence/plugin/composition/css/composition.css.vm in a text editor
5. Add
.deck .tabBar .tab a {
background: #3355ff;
}
.deck .tabBar #current.tab a {
background : #3355ff;
border-bottom: solid #3355ff;
}
.deck .cards.tabbed {border: 1px solid #3355ff;
}
...to the bottom of the file.
6. repackage the jar file. http://neptune.netcomp.monash.edu.au/...
I’m confident
-
Hey Ryan, I have installed the composition plugin via the plugin repository. But, I have no clue where to find the composition plugin within the confluence directory tree. I am on the Linux command line and have checked all of the plugin directories but have not found the composition plugin. What do I do? I want to find the plugin I installed so I can make the code addition you suggested to the composition.css.vm file. -
Just download it at http://confluence.atlassian.com/displ... and then use Confluence's plugin manager to upload the file from the computer where you made the changes. You don't have to make the changes on the server: as a matter of fact, it's probably better to use the plugin manger. -
And after you make the changes and re-upload the plugin: *make sure* you clear your browsers cache!!!!! Your browser caches CSS files, so if you don't do this, it'll look like the changes didn't do anything!! -
Ryan, I really appreciate the feedback! I'll do this and let you know how it goes, thanks! -
I repackaged the jar after I made your suggested addition. After confirming that the changes were made, I downloaded the file to my local machine, then uploaded the jar file into Confluence via the Plugin Repository. Unfortunately, I got a System Error. I don't really know what I did wrong... -
Hmm. I don't know either. Perhaps you repackaged the from the wrong directory, so the root dir of the repackaged jar is wrong?
To check to see if you packaged the jar correctly:
1. Unzip original jar to some directory, say, "original_jar" by changing extension to zip, and using a standard unzip tool.
2. Unzip the jar you repackaged to a different directory, say "repackaged_jar".
3. Verify that the directory structure of "original_jar" and "repackaged_jar" are exactly the same. That is, every single file should be the same, and they should all be in the exact same place. The only difference should be that extra bit of css in one file. -
Ryan, I appreciate your help, I found out that Dojo Tabs will do the same thing that I needed the card macro to do. Dojo Tabs is actually a plugin that I was unaware of, thanks again! -
Inappropriate?It probably had a color like this before:
#3C78B5 -
Inappropriate?Thanks Ryan for taking the time to contribute. Our team will take it and add it in early next week.
-
Inappropriate?WOW! Thanks a lot. My first time using this and I was surprised!
Ryan thanks a lot from Argentina!
Regards
Fabian
I’m happy
-
Inappropriate?Note: if you are reading this thread, you may want to just wait until Customware updates the plugin. I made these changes because my users rely on pages with the card macro. When Customware officially updates the plugin, I'm also going to use that version.
-
Inappropriate?FYI, looks like this issue is captured in the JIRA project for the composition plugin at: http://jira.adaptavist.com/browse/POS...
Can someone from CustomWare comment on when we might be able to see an update to fix this issue? We are using the card/deck macro extensively on our site and I want to know if I should manually fix the JAR as suggested above. -
Hi Duane/all - we have assigned a resource to getting all the plugins 3.0 updated. We are working top down doing the most critical ones first. They'll be knocked out soon. -
Inappropriate?I have the same question as Duane. Or perhaps Ryan could provide an updated jar file?
-
Inappropriate?Hey everyone, have you all heard of Dojo Tabs? It's a plugin, for Confluence 3.0 that does basically the same thing that the composition macro did...
-
Inappropriate?I'd rather not provide an updated jar, and I don't even know if it's legal to do so. Use this fix *only* if you can't wait, and have the technical ability to do so.
-
Inappropriate?You don't have to modify the composition plugin jar file and upload a modded version as Ryan suggested to make the workaround successful. An easy peasy lemon squeezy fix is to take the style addon that Ryan listed here and add that CSS chunk to the space stylesheet as seen in the following screenshot:

This worked for me like a charm without having to modify the jar at all. Of course, you can add this to the global space stylesheet as well should you have the composition macro peppered in the entire wiki site...
I’m glad I don't have to modify the jar!
1 person says
this solves the problem
-
Timbaland, thanks a lot! I tried your easy peasy lemon squeezy fix it solves the problem. -
Inappropriate?Hi there,
Version 2.3.3 of the plugin has been released which applies the fix as recommended here. Please click on the link below to get to the main page.
http://www.customware.net/repository/...
-
This is not a complete fix - please see my comment here -
Inappropriate?The 2.3.3 plugin update indeed fixes the issue but contains a silly schoolboy mistake - namely to have copy/pasted Ryan's CSS workaround verbatim which means even the color (#3355ff) is hard coded!
With the color being hard coded, the deck/card does not adhere to the global/space color scheme and causes the end-user to always have to explicitly set the color.
Please upload a revised version where the color is set to "$action.navBackgroundColor" - which would make the CSS code look like:
.deck .tabBar .tab a {
background: $action.navBackgroundColor;
}
.deck .tabBar #current.tab a {
background: $action.navBackgroundColor;
border: 1px solid $action.navBackgroundColor;
border-bottom: solid $action.navBackgroundColor;
}
.deck .cards.tabbed {
border: 1px solid $action.navBackgroundColor;
}
NOTE Ryan's CSS Workaround missed the second CSS line shown in the code above in the ".deck .tabBar #current.tab a" CSS block! Please don't forget that line!
I’m a nitpicking type of personality
-
Inappropriate?Hi,
Yes, we were indeed contemplating to release 2.3.3. :)
I have just released 2.3.4 - http://www.customware.net/repository/...
Please give it an hour or so from this post to be updated and shown @ http://www.customware.net/repository/....
Cheers!
The company says
this solves the problem
Loading Profile...



EMPLOYEE


EMPLOYEE