youngmon/atlassian-qna huggingface dataset:
Rounded Rectangle Macro Not Displaying Properly
Asked by Alex Valderrama:

21-Mar-12

Good Morning,

We're running v4.1.6 on our test environment, and plan to upgrade our production environment very soon. On our test environment (v4.1.6) when we use the 'Rounded Rectangle' macro, it does not display properly.

1) We are using a background color on our page.

2) We only have three themes installed: 'Documentation', 'Easy Reader', and 'Global Look and Feel'

3) If we DO NOT select anti-alias, there is a white background on the outer edge of the rounded corners. The 'white background' should be transparent so the color of the page is displayed.

4) If we DO select anti-alias, there is no white background on the outer edge of the rounded corners, but the 'Title' and 'Footer' of the rounded rectangle does not go across the width of the rectangle, and the 'Title' and 'Footer' are separated from the body of the rectangle.

5) When using the 'Documentation' theme, the background of the page overwrites the background of the rounded rectangle.

Attached are three images, one for each theme, showing the results of when anti-alias is selected and not selected. The images have the settings I used for the rounded rectangle. Please note the only difference is if anti-alias is selected or not.

I'd like to set up a screen share with a member of your support team. We'd like to get this resolved quickly so we can upgrade our production. We seem to get a quicker resolution when we do a screen share, versus exchanging emails.

Please let me know when is a good time to set up a screen share. I'm usually in the office between 7:00 a.m. - 5:00 p.m. EST.

Thanks!


Answers:
author: David at David Simpson Apps
body: I can't see the images you've attached.

It looks like youre using this user macro -- <http://confluence.atlassian.com/display/DISC/Round+Rectangle+Macro> -- which really is showing its age now. I may have been good to work around browser limitations in 2006, bhut there are newer shinier ways of doing this these days.

There are lots of mean "new" tricks with CSS you can do for example, you could wrap the following in a user macro to achieve roughly the same goal:

```
&lt;div style="border-radius:10px; color:limegreen; background-color: hotpink;"&gt;  &lt;header&gt;    &lt;h2&gt;This is a header&lt;/h2&gt;  &lt;/header&gt;  &lt;div&gt;    Here's some body text  &lt;/div&gt;  &lt;footer&gt;    Here's a footer  &lt;/footer&gt;&lt;/div&gt;
```


author: Nic Brough -Adaptavist-
body: The obvious questions spring out at me - what browser, and where are you setting "anti-alias"?

But possibly more pertinent - this is a community support place, not Atlassian support. We can try to help you out, you might get a screen-share if one of us has the capability, time and will, but it's not formal support.

(Oh, and there are no attachments, and if you do raise this as a full support issue, Atlassian are going to ask you a lot more about versions, operating system, and so-on)


Tags: macro
What version of tomcat comes with Confluence 4.1 standalone?
Asked by Brantley Riley:

And is there any place in the documentation where it says that? I'm trying to avoid downloading and installing the product just to see what version of tomcat it comes with, but I am having \*no\* luck searching the Atlassian web site to find the info.

Bonus question: what version of tomcat comes with Jira 4.1 standalone?

Thanks so much for any help you can give!!

Brantley


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: **Confluence 4.1**

Server version: Apache Tomcat/6.0.32

Server built: February 2 2011 2003

Server number: 6.0.32.0

**JIRA 4.1.2**

Server version: Apache Tomcat/6.0.20

Server built: May 14 2009 01:13:50

Server number: 6.0.20.0

comments: author: Brantley Riley
body: Brilliant! Thank you so much for the speedy assistance!
how to show breadcrums in page layout?
Asked by poonam chaudhari:

Currently i am using following code

```
<div id="content" class="page $!mode"><h2><a href="/display/conf/Home"><img src="/download/attachments/360487/m_Home.png" border="0"></a> ...> <a href="/display/$page.space.key">$page.space.name</a> > <a href="">$page.title</a></h2>    #parse("/decorators/includes/page-content-includes.vm")

But does not show the whole page heirarchy.

How can i achive the heirarchy?
```


Answers:
author: Andrew Frayling
body: Hi Poonam,

The Velocity code for displaying breadcrumbs is:

```
$!sitemeshPage.getProperty("page.breadcrumbs")
```

Hope that helps?

Andrew.


Tags: breadcrumbs
How can I remove unwanted lines from sections
Asked by Dave Puttock:

I've noticed that in Confluence 4.0 when I insert a section and some columns, the editor puts in a large number of unwanted empty lines. This is not the case in pages I created using wikimarkup

How can I remove them

This is what I see on the finished page, about 5 or 6 lines between, a line of text outside the section and the column title which is inside the section. Below this image is an image from the editor.

![](../../upfiles/Finished_page_1.jpg)

This is what the page looked like in the editor, and altough I can place a cursor between section and column headers I cannot remove any more lines

![](../../upfiles/Page_in_Editor_1.jpg)


Answers:
author: Joerg Bencke
body: Hi,

dont know wether that is a feature or an issue, but its a fact ;) On 3.5, the Richtext Editor did similar stuff, which you could correct with Wiki-Markup view. For 4.0, you will have to wait until the "XHTML Sourcecode Editor" is available or for the RTE to get fixed. Did you check JIRA for issues along that line already ? If you find none, create an issue, vote for it and publish the link here so others can vote for fixing it, too.

Regards, Josh


author: Matt
body: Hi Dave - what version of Confluence 4 are your running? From memory this is a bug that was fixed.
From a confluence page, can an attachment be restricted from being downloaded?
Asked by Keshav Prasad G:

Is there a way to restrict an attachment (a powerpoint, word, excel document) from being downloaded from the confluence page to which it is attached? Please suggest


Answers:
author: Thomas Schlegel
body: Hi

it is not possible. Look here: <https://jira.atlassian.com/browse/CONF-19182>

Best regards

Thomas


author: hsuhailah
body: By default, it's not possible but you may want to checkout [Arsenale Lockpoint](https://plugins.atlassian.com/plugins/com.arsenale.plugins.lockpoint) (third-party plugin) instead.

comments: author: Keshav Prasad G
body: Thanks for the quick responses.
Anyone has an idea about "osd.action" within Confluence URL?
Asked by Daisuke Niwa:

Hello there,

Recently we found out that there are a lot of accesses to \<Confluence URL\>/opensearch/osd.action.

Anyone has an idea what's this URL about?

We are using Confluence 3.4.

We appreciate your input.

Regards,

Daisuke Niwa


Answers:
author: twong_atlassian
body: osd.action delivers an opensearch descriptor once it has checked that you're a valid user of Confluence.

<http://en.wikipedia.org/wiki/OpenSearch> does a good job of explaining the technology.

<http://www.opensearch.org/Documentation/Frequently_asked_questions> Might also be useful.

It can be used for another of things, but mainly, it lets you put Confluence search in your browser so that you can search it from the small search window on the upper right.
Export users
Asked by Arantxa Lacasa Madero:

Hello,

Is there any way to export all users from a group, to know at least the number of users that are in that group?

In paginations, it does not say the total number of elements of each list.


Answers:
author: Sandro Herrmann [Communardo]
body: Another way to achive this is by writing a little usermacro.

```
## @param groupname:title=Group Name|type=string|required=true|desc=The Name of the Group#set($containerManagerClass=$action.class.forName('com.atlassian.spring.container.ContainerManager'))#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance',null))#set($containerManager=$getInstanceMethod.invoke(null,null))#set($containerContext=$containerManager.containerContext)  ## the user accessot gives you access to the users#set($userAccessor=$containerContext.getComponent('userAccessor')) #foreach( $group in $userAccessor.groupsAsList  )    #if( $group.toString().equals($paramgroupname) )              There are $userAccessor.getMemberNamesAsList($group).size() users in the group $group    #end#end
```

This macro with an example name "usercount" can now be used by using the following macro call at a page:

```
{usercount|usergroup=confluence-users}
```

comments: author: Arantxa Lacasa Madero
body: It works perfectly. Thanks so much!


author: ARF2 ARF2
body: Hi,

My company (LBAppStudio) has created a solution for Confluence Cloud to export all users in a group or groups. Please find the solution here: [https://marketplace.atlassian.com/apps/1234489/reports-plus-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1234489/reports-plus-for-confluence?hosting=cloud&tab=overview). We are happy to consider any enhancement requests!


author: Yilin
body: Hi Arantxa,

May be you can try the following SQL statement, hope this hlep:

```
select cu.user_name,cu.active,cu.first_name,cu.last_name,cu.email_address from cwd_user cu join cwd_membership cm on cu.id=cm.child_user_id join cwd_group cg on cm.parent_id=cg.id where cg.group_name='confluence-users';
```

Cheers

Yilin


author: Yilin
body: In this case, maybe you can open the page with the following URL:

"\<Your Confluence base URL\>/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=\<The name of your group\>"

The page will display the member of this group .

Also, you can use the "user list" macro in a page to list the user in a group. :)

Hope this help.

comments: author: Arantxa Lacasa Madero
body: Thank you Yilin.

I really needed some way without having to access the database, since it is something that should manage the Level 1 technical support, and they do not perform queries to database.

Indicate the total number of a listing is a necessary and available information in most applications. Would not this be included in Confluence?


author: Arantxa Lacasa Madero
body: Thank you Momo.

But I need to know the total number of users of a group (without counting them one by one, and without doing a query to database).

Is this possible? Maybe with a param of the userlist macro?
How can i enhance people directory in confluence?
Asked by poonam chaudhari:

I want to create tabs of alphabets to show people names starting with that alphabet.Is it possible?


Answers:
author: Azwandi Mohd Aris
body: Not possible, however, you might want to add some comments and keep an eye on <https://jira.atlassian.com/browse/CONF-13984>


Tags: cloud

confluence-cloud
Team Calendar restrictions
Asked by Fedor Sukharev:

Actually, Team Calendar restrictions are not restrictions.

If there are no restrictions defined, everyone can add/delete events and delete entire calendar.

But if the group or user defined in Team Calendar restrictions, behavior changes upside down: only restricted group or user can add/delete events and delete entire calendar.

I suggest to rename restrictions to something else.


Answers:
author: hsuhailah
body: Restrict in other word means limit. Similar to [Page Restrictions](http://confluence.atlassian.com/display/CONF35/Page+Restrictions) in Confluence, you can define view and edit restrictions for Team Calendars by Confluence group and individual user. If a group or user does not have permission to view a calendar, they will not be able edit the calendar either. Since we are applying the same functionality as Page Restriction in Confluence in Team Calendars, it seems appropriate to name it as Restriction to limit viewing and editing permissions only to the chosen individual and/or groups.


author: hsuhailah
body: Restrict in other word means limit. Similar to [Page Restrictions](http://confluence.atlassian.com/display/CONF35/Page+Restrictions) in Confluence, you can define view and edit restrictions for Team Calendars by Confluence group and individual user. If a group or user does not have permission to view a calendar, they will not be able edit the calendar either. Since we are applying the same functionality as Page Restriction in Confluence in Team Calendars, it seems appropriate to name it as Restriction to limit viewing and editing permissions only to the chosen individual and/or groups. Or viewing and editing permissions are only limited to the chosen individual and/or groups.

comments: author: Fabio Genovese
body: I saw a strange thing about restriction in Team Calendar. I don't know if it's a known issue.

After setting and removing restriction (a user of confluence_user), user is able to edit events in shared calendar. always :-s

I don't understand how it's possible. Someone can explain? could be a problem of a specific version of Team Calendar or Confluence?


author: Onur Karabacak
body: Is there any solution for this issue?

Thanks,
fixing html copy-and-paste
Asked by Yuri Zats:

I copy-pasted HTML content into Confluence. It worked quite nicely... until I realized that my paste included a number of hidden attributes that don't show up in the editor. For example, \<a\> tags.

This seems to create a problem for DocBook exports, so I need to clean up the pages. Is there any way to get to the source of XHTML an edit out unwanted attributes ? Any other suggestions, other than re-importing the data ?

Thank you.


Answers:
author: Andrzej Pasterczyk
body: You could try to use WebDAV to access source of your Confluence pages and edit them in any text editor.

<http://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence>


Tags: xhtml
wiki curation best practices/recommendations
Asked by AlexH:

My company is interested in hearing your recommendations for wiki curation best practices. We've been running an instance of Confluence since 2005 without an official cleanup/curation policy to help purge old/dated content.

We're hoping to mine the confluence community for things that do/don't work before implementing an official policy to help maintain the usefulness of our wiki with 7 years of content.

Things we're considering:

1) automated notification to page owners of pages that exceed certain thresholds of "freshness" to ask them to review and update, or delete.

2) automated cleanup (move to an archive space, or outright deletion) of pages via a plugin that uses a variety of metrics to automatically select pages older than a certain date if certain criteria (labels, view counts, etc) is met.

3) manual review/cleanup effort.

Any wisdom you can share would be appriciated, thanks!


Answers:
author: BillA
body: There are some really good tips in this blog post ... <http://www.kikamaca.com/2011/08/managing-content-in-confluence-archiving-and-retention-policies/>

comments: author: AlexH
body: Excellent, thank you!


author: Brett Paul
body: This is a dead link now.


author: Ole Kristensen
body: Good thoughts, but you have to think carefully about your definition of 'freshness'. We have scientific articles about minerals that are not likely to change within the next century. Nor all the math articles ;-)

comments: author: Midori
body: the Archiving Plugin (at <https://plugins.atlassian.com/plugins/com.midori.confluence.plugin.archiving>) suggested by Thomas-S does support the concept of "content that never expires"!

it's dead simple: you just apply the tag "archive" or "archive-single" to a page to mark its whole page subtree ("archive") or this page alone ("archive-single") as "content that never expires, please skip it during archiving".

see the current user manual here: <http://midori.hu/products/confluence-archiving-plugin/documentation>


author: Thomas Schlegel
body: Hi Alex,

there is an archiving plugin: <https://plugins.atlassian.com/plugins/com.midori.confluence.plugin.archiving>

We do not use it, because, as Ole mentioned, it is not easy to say when a page is out of date. This plugin moves outdated pages automatically to an archive space.

We use date-tags to mark pages that have to be updated regularly. We look at these pages manually...

Best regards

Thomas

comments: author: AlexH
body: thanks for the feedback :)


author: Ole Kristensen
body: You have think carefully about your definitionof 'freshness'. We have scientific articles about minerals that are not likely to change in the next decade. Nor all the math articles ;-)
Can/How do I access data saved on Page
Asked by Debi Breaux:

I am new to Confluence, as might be painfully obvious after you read the rest of this text. After reading much of the documentation from various sources, I am not even sure if I can do what I am asking, but here goes:  

What I want to do:  

I want to retrieve page data and generate a report from it

<br />

Here basically are the test steps I am following:  

1. Create/Save a template
2. Create a page from the template
3. Enter data in to the page fields
4. Save the page
5. Do steps 2-4 two more times, entering different data

<br />

Here are my questions:  

Where does the page data go when you save it?  

Can/How do I retrieve it?


Answers:
author: Andrew Frayling
body: Hi,

I think I understand what you're trying to do, but Confluence templates do not work in the way that I think you're trying to use them.

If I'm understanding correctly you're trying to do something akin to entering data into a spreadsheet / database where the data is held in columns or key/value pairs and you can then manipulate the data in some way - generate a report, draw a chart, etc. Confluence templates don't work like that, they just create a skeleton structure and placeholders and when you enter data into the fields in a page created from a template the page is saved as a whole, each page is just one big chunk of text in a database field.

Is my understanding of what you're trying to do correct? Does my explanation make sense?

So for pages created from Confluence templates the data is stored in the database as one big chunk of text per page and although there are APIs that allow you to retrieve page content programmatically because it's not stored as structured data you would have to retrieve the entire page and post-process it to try and construct the relevant key/value pairs.

Confluence page templates are great for when you want to have multiple Confluence pages displaying the same type of information above several things, e.g. meeting mintues, server inventory, HR new starter checklist, etc. and it doesn't matter that the data is unstructured. For structured data such as surveys, etc. where you want a simple form for capturing the data, but want the data to be structured do that you can manipulate it later you might be better off looking at something like a WuFoo form embedded in a Confluence page - <http://blogs.atlassian.com/2009/05/confluence_wufo/>

Hope that makes sense? If I've misunderstood post back and I'll try and get a better understanding.

Andrew.

comments: author: Debi Breaux
body: Thanks Andrew for your prompt and thorough reponse! You are exactly right in understanding what I am trying to do and your explanation makes perfect sense. I will look into the WuFoo option.

Have a great day!


author: Andrew Frayling
body: You're welcome. You may also be interested in the list of other options for data capture at <http://confluence.atlassian.com/display/CONFHOST/Capturing+data+with+forms> -


Tags: cloud

confluence-cloud
Unable to edit any WiKi page since we moved to Confluence 4
Asked by Bertrand Gasnier:

Hi,

We have recently moved to Confluence 4, and since that time, ALL the Wiki created before can't be edited anymore.

Clicking on Edit, just shows the Title (which we can modify) but the rest of the page remains blank.

I have checked my Admin page of Confluence and it reports that there is "0 page with macros that are not yet Confluence 4+ compatible"...

What should I do to convert my old wiki to XHTML and then being able to edit them?

Thanks for your help

Bertrand GASNIER


Answers:
author: Andrew Frayling
body: Hi,

EDIT: Sorry, just noticed this is for OnDemand. What was the process you used to transfer 3.x data to OnDemand?

Have you tried re-running the migration? Details available at <http://confluence.atlassian.com/display/DOC/Wiki+Markup+to+XHTML+Migration#WikiMarkuptoXHTMLMigration-Re-runningMigration>

Also, are there any errors in the logs that might indicate problems with the upgrade?

Andrew.

comments: author: Bertrand Gasnier
body: We did nothing specific here to move to 4.x. This has been done by Atlassian support team after we asked to change our subscription to OnDemand. OnDemand includes automatically 4.x if I have well understood.

I just tried to force the migration and got the following error:Upgrade failed with the exception java.lang.IllegalStateException: A site migration is currently in progress.. Check the log for details.

Hum, I didn't launch any migration from here before...

I also don't know how to check the Log details.

Bertrabd


author: Andrew Frayling
body: Sorry, it was my misunderstanding. OnDemand would be Confluence 4.x as that was the earliest version the service was launched on.

As the move to OnDemand has been handled by Atlassian Support I would suggest raising a ticket in the OnDemand project at <https://support.atlassian.com> to ak them to take a look at it.

The error that you got suggests that either the initial migration is still in progress, or the migration failed, but part of it thought it completed successfully. Either way it looks like something has gone wrong under the covers and only Atlassian Support would have system access to be able to see diagnose what went wrong.

Apologies again for my initial confusion.

Andrew.


author: Joe Clark
body: +1. It sounds like you should contact Atlassian support so they can investigate if anything went wrong during the migration.


Tags: cloud

confluence-cloud
Custom word export button
Asked by Igor Deruga:

Greetings!

I'd like to customise the "export to word" function as described in your official help document (using CSS styles). But the problem is that I'd like to do that only for a certain subset of my pages. I want the rest to be exported in the usual way. I thought that adding another type of export (with another set of CSS rules) would be very helpful, so that user could choose which type of export (regular or specification in my case) he/she wants to perform.

Could you please direct me to any resource on this topic? I googled a lot and I've checked in this forum - didn't get any answer.

Thanks a lot!

Igor


Answers:
author: mwarton
body: There is a new plugin [Intelligent Reporter](https://marketplace.atlassian.com/plugins/com.clariostechnology.intelligentreports) which allows you to create as many templates as you like, formatting and laying them out in Word itself. You can also choose exactly which fields to export, and where they should appear in the document.

<https://marketplace.atlassian.com/plugins/com.clariostechnology.intelligentreports>


author: Joerg Bencke
body: Just for brainstorming :

For that, you would "just" have to build a plugin, which offers a button in the EXTRAS menu. If you have sourcecode access, you could maybe clone the "standard word export" and build your own plugin ontop of that.

Or you check with the repository. There is an old "expot to word" plugin running aroung [plugins.atlassian.com](http://plugins.atlassian.com) It never got very far and was buggy, but maybe the sourcecode is available. You coud start from there.

Alternatively, you check you the "Theme builder" from adaptavist to use certain themes for certain areas. At the most, you would need to create a "fassade" pagetree, importing the orignal pages and applying its own theme on them. maybe you dont need even that stunt.

Finally, you can assign "own" css-classes to your content in many places. You could use "user makros" to wrap the standard-macros with special CSS classes. Something like
> mymacro = org-macro + mycssstyles

have fund checking this out and let us know, whats the best approach :)

Josh


Tags: export

ms-word