Space listing issue with Confluence 3.0
I use the reporting plugin to generate a list of confluence spaces which has a globe graphic by each space link (like the list on the dashboard). It essentially makes a space listing which looks like the one on the dashboard minus the icons that it has to the right, such as browse space or add to favorites. This works fine in Confluence 2.10.2, but it does not render properly in 3.0.0. In 3.0.0 it puts the globe graphic on its own line and then the space name on its own line and keeps repeating this. Here is the code I am using:
{report-block}
{space-reporter:space=@global}
{text-sort:space:name}
{space-reporter}
{report-body}
!http://intranet/images/icons/web_16.gif! {report-info:space:name|link=true}
{report-body}
Is there any way to accomplish this in Confluence 3.0? If there is some other sort of block of code which I can use to do this, I'm game to change it up. Essentially I just need a space listing that looks like the one on the Dashboard minus the extra icons to the right of the space list. Thanks.
{report-block}
{space-reporter:space=@global}
{text-sort:space:name}
{space-reporter}
{report-body}
!http://intranet/images/icons/web_16.gif! {report-info:space:name|link=true}
{report-body}
Is there any way to accomplish this in Confluence 3.0? If there is some other sort of block of code which I can use to do this, I'm game to change it up. Essentially I just need a space listing that looks like the one on the Dashboard minus the extra icons to the right of the space list. Thanks.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?I believe this is due to a change Atlassian made in Confluence 3.0 which now forces a lot of macros to render on a new line. We are working on a fix. Look for it in the next version of Reporting.
-
Inappropriate?Hi Erik and David,
I actually gave this a little test on my Confluence 3.0 and it seems that you can sometimes trick the confluence renderer to not render new lines by removing some white space within the report-body.
Try this:
{report-block}
{space-reporter:space=@global}
{text-sort:space:name}
{space-reporter}
{report-body} !http://intranet/images/icons/web_16.gif! {report-info:space:name|link=true} {report-body}
{report-block}
The actual content is the same as your example,however I removed the new line characters within the report body (so that it is all in 1 line), by removing the line breaks in the actual macro, it seems to get rendered on the same line (although doing so makes the macro kind of unreadable when the statements get a bit longer...)
Hope this works out for you :)
Regards,
Bo Wang
Loading Profile...



EMPLOYEE
EMPLOYEE