youngmon/atlassian-qna huggingface dataset:
Move the "Add Comment" button
Asked by Matthew J. Horn:

I am working on heavily customized layouts and styles for a documentation site in Confluence, and am having a hard time finding where the position of the Add Comments button is set. Can anyone point me to the right place for Confluence 4.1.2? Thanks!


Answers:
author: Joe Clark
body: Hey Matthew,

Have a look in confluence-webapp/src/main/webapp/decorators/components/comments.vmd

Joe.

comments: author: Matthew J. Horn
body: Cool, thanks, that's exactly what I was looking for.

What I'm having trouble with is that the custom theme that I'm building messes up the comment box. Specifically, it re-arranges the buttons in the RTE's header and resizes the comment area.

Any pointers to either a simplified comment control, or a way to load a comment box without using the local decorators' styles?

I've attached an image that shows what it looks like:

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


author: Joe Clark
body: There's no simplified comment control available, unless you wanted to build your own :-)

If you want to override the styling of the comment box, you may have to modify the editor plugin, or provide some overriding CSS with more specific selectors.


author: Matthew J. Horn
body: Thanks, Joseph. I was able to do enough damage by overriding the styles that the comment box is (mostly) back to normal. Specifically, the spacing of the individual toolbar items was being pushed out by some allocated space settings.

So I made a few minor changes and one big one in a CSS file. Minor changes:

/\* reduce Group margins \*/

.aui-toolbar .toolbar-group {

margin-right: 5px;

}

/\* Hide the help, undo, and redo buttons \*/

#rte-button-help, #rte-button-undo, #rte-button-redo {

display: none;

}

/\* Set the default height of the Rich Text Editor to 600 -- this is mostly for the edit pages, but also ends up applying to the comments box \*/

#rte {

height: 600px;

}

This line fixed the primary spacing issues:

<br />

#header .aui-dd-parent, #header .aui-dropdown, #autocomplete-dropdown, #autocomplete-dropdown .aui-dropdown {

width: auto;

}

Posting this here in case anyone can benefit from it. Hope to see some of you at the Summit!

matthew horn


Tags: comment
How to map network drive for each user in confluence which contain attachments
Asked by pritika madkaikar:

I have to map network drive for each user in confluence without ignoring any important features of confluence like creating or deleting spaces etc. Also need to implement trash for each and every user instead of shared trash for administrators.


Answers:
author: Nic Brough -Adaptavist-
body: Webdav - see <http://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence>

It's not going to "map a network drive" for you, but you can do the mapping on the client end if you want (most users I've worked with give up on shares rapidly and just work inside Confluence, although the inline editiing over webdav is used) it works with Confluence for handling attachments. It's not going to give you single trash cans unless you do some coding (and they're simply not needed)
can users add watchers to a page?
Asked by Nariman Riahi:

in Confluence I know administrators can add watchers. Is there a way to allow users to be able to add other watchers to a page too.

Jira does that and I am wondering if Confluence can do the same.


Answers:
author: Septa Cahyadiputra
body: Hi there,

Yes you could if the user is the space creator/administrator or if its the user personal space. Please try the following steps

1. Click "Tools" (upper right)
2. Choose "Manage Watchers"
3. Add the user there

Hope it helps.

Cheers,

Septa Cahyadiputra

comments: author: Renjith Pillai
body: That still requires admin rights, isn't it?


author: Septa Cahyadiputra
body: Oh shoot missed that. Every pages, yeah only admin. Owner of the personal space and space, should be able to do this. Editing my answer to avoid any confusion.

Sorry.....


author: Nariman Riahi
body: As far as I can see only an Admin user can do that.


author: Septa Cahyadiputra
body: Yup, only space admin or super users (member of confluence-administrators group)


author: stojadinovicpredrag
body: I don't see "Tools" anywhere, even though I am space admin :(

I'm guessing we're using a newer version where things have changed :(


author: stojadinovicpredrag
body: Found a solution here: <https://confluence.atlassian.com/doc/manage-watchers-218271870.html>

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/24988iAF4D8874E1C3FCBE/image-size/large?v=v2&px=999 "image.png")


author: abhijeetbh
body: Thanks [@stojadinovicpredrag](/t5/user/viewprofilepage/user-id/1135562)


author: michael sam
body: that is still not a user permission, its a space administrator


author: Septa Cahyadiputra
body: Heya,

Just create a new improvement request on this.

<https://jira.atlassian.com/browse/CONF-25393>

Please add a comment on it if necessary.

Cheers,

Septa Cahyadiputra
Can i receive the Confluence java source code ?
Asked by jou kwang wook:

My company is using the Confluence.

I want to modify Confluence web page. but java source code is class file.

Can i receive the Confluence java source code ?

I exactly want to know about it.


Answers:
author: Dennis Kromhout van der Meer
body: Additionally, if you're using OnDemand Confluence, you unfortunately won't be able to change the sourcecode, see the [Restricted Functions in Atlassian OnDemand](http://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) page.

comments: author: jou kwang wook
body: I Wonder. Confluence usually use OnDemand, is not it?

......

In conclusion, I can't modify Confluence web page.

Thank those who recorded comments.

<br />

<br />


author: Julien Hoarau
body: If you have a Confluence licence, you can download the source code from [https://my.atlassian.com](https://my.atlassian.com "https://my.atlassian.com")


Tags: cloud

confluence-cloud
Is it possible to make areas invisible for restricted members?
Asked by Martin Johst:

Is there a possibility to make specified areas invisible for restricted members so that they don't know that the areas exist? Confluence 4.0


Answers:
author: Martin Johst
body: The best way for me was to go to the space and =\> Browse =\> Space Admin =\> Permissions.

There you can restrict the space and it won't appear in the Space Browser of people which are not allowed do enter the space.


author: Thomas Schlegel
body: Hi Martin,

do you mean hiding parts of a page ? If so, the visibility plugin might be, what you need: <https://plugins.atlassian.com/plugins/net.customware.confluence.plugin.visibility>

But this plugin is not suitable for hiding secure content. The whole content is indexed and can be seen in summaries and in the source view.

Best regards

Thomas


author: JamieA
body: Have you looked at page restrictions? <http://confluence.atlassian.com/display/DOC/Page+Restrictions>

You need to make a group that contains everyone but the restricted members...
URL redirect not working
Asked by Shaun Pendrigh:

I have set up a redirect on my domain. It points [docs.excel4apps.com](http://docs.excel4apps.com) to <https://excel4apps.atlassian.net/>. Sometimes it resolves fine. Other times the resolved URL looks something like <https://excel4apps.atlassian.net/MXjTL/> and this shows the Atlassian down for maintenance page. Do you have any idea why this happens? It cannot be my domain redirect so I am assuming it is something about how confluence ondemand is resolving the URL. Is my redirect incorrect?


Answers:
author: Shaun Pendrigh
body: The redirect is set on the domain host records at <http://www.enomcentral.com/>. I will attach a screenshot.

![](../../upfiles/redirect_1.png)


author: Dennis Kromhout van der Meer
body: How are you currently redirecting? On a DNS level? If so, can you provide more information about your redirect record?


Tags: cloud
Server ID shows as $action.sid
Asked by Cortera Netops:

This is a new installation on Redhat using MySql, following the installation docs. Tried following the KB article

[http://confluence.atlassian.com/display/CONFKB/Server+ID+Shows+as+%24action.serverId+or+%24action.sid](http://confluence.atlassian.com/display/CONFKB/Server+ID+Shows+as+%2524action.serverId+or+%2524action.sid)

But the serverid.jsp file fails with the error message Failed to find component: No bean named 'setupSidManager' is defined

Searching for select \* from BANDANA where BANDANAKEY like 'confluence.server.id' in the database returns an empty set. Is there a suggested insert statement that I could run against the database?


Answers:
author: AlysonA
body: Hey Brent,

According to our support ticket, you just needed to manually insert the serverid via database. Everything's good now. :)


author: Cortera Netops
body: Support was able to answer my question

This can be fixed with an insert statement into the database.

```
INSERT INTO BANDANA (BANDANAID,BANDANACONTEXT,BANDANAKEY,BANDANAVALUE) VALUES ('6','_GLOBAL','confluence.server.id','&lt;string&gt;YOUR-SERVERID-GOES-HERE&lt;/string&gt;');
```

Where 6 in the BANDANAID value is different than any other entry. You can find this by running the command "select BANDANAID from BANDANA;" and just seeing what ID number isn't being used.
Is it possible to hide the EDIT - ADD - TOOLS menu in Confluence?
Asked by Miko Makela:

Hi,

I'm trying to find a way to hide the ''EDIT - ADD - TOOLS'' menu in every Confluence pages on my project space. I want to make it visible only for me.

Thanks in advance!


Answers:
author: Thomas Schlegel
body: Hi Miko,

maybe this plugin might help you: <https://plugins.atlassian.com/plugins/net.customware.confluence.plugin.menumanager>

Best regards

Thomas


author: Karina Clemente
body: Did the plugin work? I need to do the exact same thing.


author: Nic Brough -Adaptavist-
body: Edit and Add will disappear if you remove the users permissions to create/edit pages.

Tools is more complex, but removing the users permissions will shorten the list of tools to the options that only need read access.

comments: author: Miko Makela
body: I really want to Hide/Remove TOOLS menu as well, is there any way?


Tags: menu
What's the best way to embed URL content from Jenkins API in Confluence?
Asked by Camden Reeve:

We wish to include some information from our Jenkins build pages, probably via the XML API, in Confluence pages.

We thought that using the HTML Include plugin would work, but instead get the error:

HTML inclusion denied because the page at [http://192.168.26.41:9090/job/ourproject/lastCompletedBuild/testReport/api/xml?xpath=/\*/passCount/tex](http://192.168.26.41:9090/job/ourproject/lastCompletedBuild/testReport/api/xml?xpath=/*/passCount/tex()t() is not an HTML page.

Which makes sense as it is just a text response, in this case a number indicating the number of tests that have passed for our build.

However, I can't see any other way to retrieve the contents of a URL and embed them within the page. I tried using an iframe, using the HTML plugin, and this works, but seems to default to being a very large box, which is no good as we want to include many values from Jenkins in a table.

I'm sure I must be missing something and there is a better way to do this...please help point us in the right direction :)


Answers:
author: Renjith Pillai
body: The xslt macro of confluence claims to do this. So instead of applying the xpath on the Jenkins URL, you could try directly getting the xml and then applying the style sheet.

Check <https://bobswift.atlassian.net/wiki/display/HTML/XSLT+Macro>


Tags: jenkins
Find and Replace
Asked by Larry Bear:

Hi,

I am currently evaluating this product. A basic feature in any editor is the Find/search and Replace.

I found this option on the page level, but what if I want to find and replace for the entire space? Is there an easy way to do this.

Thanks,

Larry


Answers:
author: SarahA
body: Hallo Larry

The Confluence CLI is an extremely useful tool to know about. It has find and replace functionality. See the [CLI documentation](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation), especially the [modifyPage](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-modifyPage) action and the [findReplace](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-findReplace) and [findReplaceRegex](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-findReplaceRegex) parameters.

Cheers, Sarah


author: Bruna Griebeler
body: The only way I can think of is using the [Global Search and Replace Plugin](https://studio.plugins.atlassian.com/wiki/display/CGSR/Confluence+Global+Search+and+Replace+Plugin;jsessionid=AF84A0146C52345726800707B77B01EE).  

Hope it helps!
Exporting wiki as PDF strips images or mangles them at best
Asked by Sam Thomson:

I have a wiki space, it contains some images, some of these I uploaded and included, and some I drag/dropped.

If I try to export the space (or a page of it) as a PDF there are two problems. In the PDF, images in tables no longer scale like they did when viewing the space online, and lots of images aren't even included.

Basically I expect that when I export the apge as a PDF, the PDF looks like the page. This functionality was a reason we started using (perhaps ruling out..) confluence.


Answers:
author: Gary
body: Hi Sam,

Unfortunately, there are several bugs currently with Confluence concerning exporting to pdf, and images:

[https://jira.atlassian.com/issues/?jql=project%20%3D%20CONF%20AND%20status%20%3D%20Open%20AND%20text%20\~%20%22export%20images%20pdf%22](https://jira.atlassian.com/issues/?jql=project%20%3D%20CONF%20AND%20status%20%3D%20Open%20AND%20text%20~%20%22export%20images%20pdf%22)

The Dev team for Confluence is working to get them fixed, but exporting to pdf when images are involved is a known issue. Feel fre to add any details, votes, or comments to any of the issues listed in that link.

Cheers,

Gary


Tags: cloud
How do I merge a confluence space with a new project?
Asked by Gary Fung:

I've create a confluence space with the short name DEV a long time ago when we only use confluence as a single product. Since then we've started using confluence, jira, grasshopper and crucible. But now I want to create a new project called DEV. How do I merge the DEV wiki into the new project? Right now it won't let me create a project named DEV.


Answers:
author: Bob Swift (personal)
body: I am not sure how to do this from the UI, but you can use [JIRA Command Line Interface](https://bobswift.atlassian.net/wiki/display/JCLI) [createProject](https://bobswift.atlassian.net/wiki/display/JCLI/Documentation#Documentation-createProject) action to create a JIRA project and then link it to the Confluence project.

comments: author: Gary Fung
body: But this is a OnDemand instance can I still use command line?


Tags: cloud

confluence-cloud
Edit a table in view mode
Asked by Rhyne Armstrong:

Hello everyone,

I am building configuration pages for each of my clients. I don't want to have a long table for our consultants to edit manually, so I am looking for a way for them to be able to edit each field in view mode. I know this is possible if I make each field a child page and use the checklist macro, but there are 200 fields.

Does anyone out there have any ideas how I can simply have the consultants click a tab, edit what they need and move on? I am using the following to build the client page:

* Scaffolding
* Composition
* Theme Builder

Thank you for any ideas you might be able to share.


Answers:
author: Rodrigo Girardi Adami
body: Hello Rhyne,

I've done some researching and I believe this is not possible at the moment, so I've created a improvement request for you.

<https://jira.atlassian.com/browse/CONF-29285>

I suggest to vote and watch to increase the chance for this to be implemented if that is feasible.

Regards,

Rodrigo


author: Andreas Springer _Actonic_
body: Hi all, I know this is an old thread, but if you are still looking for an answer, please have a look at this app for Confluence: [Inline Table Editing](https://marketplace.atlassian.com/apps/1217271/inline-table-editing)


author: Jochen Gererstorfer
body: I also would love to see that feature.


author: Bhoomi Patel
body: Hello Everyone,

I am trying to edit the table in viewing mode.Just to save some time for the users to add the details manually.

Can some one please suggest me a way to do so ?

Thanks in advance.
Problem with displaying all the pictures on pages
Asked by Ji?? Josefus:

When I display any pages with several images some of the images don t show. After F5 somo of th images now show but not all of them. Vesion of confluence 3.0.0

Is there any solution to go through this problems?

Thanks a lot


Answers:
author: Daniel Borcherding
body: Hello,

Something else that you may want to think about. Confluece 3.0.0 is officially [End of Life](https://confluence.atlassian.com/display/Support/Atlassian+Support+End+of+Life+Policy). You may want to think about upgrading Confluence to a supported version. I am linking the upgrade document to Confluence 3.5 below.

<https://confluence.atlassian.com/display/conf35/Upgrading+Confluence>

This is a case where we are going to need a lot more info. The questions that Peter asks are great! I would add the question "Have you ever been able to view image?". If yes, is there anything that has changed about your environment recently?


author: Ji?? Josefus
body: Hello, the problem was solved in after installing version 4.3.2 of Confluence


author: PeterKoczan
body: Do you use any web proxy and/or reverse proxy in front of Confluence that amy interact with this behavior? If so, could you try testing this without it?
TOC macro: Error - no metadata configured
Asked by Michael Harris:

Confluence 4.1.9, Download, Ubuntu 11.04 w/Apache, PostgreSQL and OpenJDK. Upgraded today from 3.5.19.

Ok, this one has me puzzled. The TOC macro refuses point blank to work.

Existing pages which use it generate the following error:
> Unknown macro: {toc}

When attempting to edit the page and attempting to add it in (Insert \> Table of contents), the following message appears:
>
> No Macro Metadata {#toc-hId-1620577391}
> ---------------------------------------
>
> There is no metadata configured for this macro which means no configuration screen can be presented here.
>
> If this is a user macro then you can add metadata to the template using the [User Macro Administration](http://confluence.crispykangaroo.local/admin/usermacros.action) console.

Further, when attempting to look for this macro (Insert macro \> Other macros \> Select macro), the toc macro does not appear anywhere in the results, nor is it returned using obvious search keywords (toc, table, contents).

Any idea what has gone wrong here and how I rectify the issue?


Answers:
author: Michael Harris
body: For some reason, the Table of Contents Plugin was not enabled after the upgrade installation, nor was it disabled before performing the upgrade.

To check this plugin is working correctly, do the following;

1. Load the Administration dashboard (Browse \> Confluence Admin)
2. Load Manage my plugins (Configuration \> Plugins \> Manage my plugins)
3. Under System plugins, click Show system plugins
4. Search for Table of Contents Plugin, and click on the plugin name to expand the dialogue box.
5. Ensure that the plugin is enabled (if enabled, the Disable button should be shown on the right of the box).
   1. If the button is showing Enable, press it to enable the plugin.
   2. Also check that next to Manage plugin modules, it shows that 6 of 6 modules enabled
6. Also ensure that you are running the [most current version of the plugin](https://plugins.atlassian.com/plugins/org.randombits.confluence.toc). You can automatically update the plugin to the latest version by pressing the Update button on the right hand side of the screen.  


Tags: macro

table-of-contents
New project notification scheme defaults to "none"
Asked by Nathan Bell:

When I create a new project in JIRA OnDemand, the notification scheme always defaults to 'none'. How do I get it to default to the Default Notification Scheem?


Answers:
author: Nic Brough -Adaptavist-
body: You don't - that's just the way it's coded.

I suspect you could add a spot of javascript to the banner to get it to default to something else, and you could always have a look at the core code and modify that.

comments: author: Nathan Bell
body: It defaulted to the Default Notification Scheme in JIRA 4.4. Has this changed in 5.0?


Tags: cloud

confluence-cloud

jira-cloud

notification
Office Connector / MS Project 2010
Asked by Adolfo Casari:

I wonder if anyone has been able to use Office Connector with MS Project 2010 files in Confluence 4.0 (Edit in Office).

Is this supported by Confluence?

Thank you.


Answers:
author: Christian Czaia _Decadis AG_
body: Hey,

as far as I know these are the only file types that are being supported:
> * `.doc`and`.docx`
> * `.xls`and`.xlsx`
> * `.ppt`and`.pptx`
> * `.pdf`
>
> I'm referring to: <http://confluence.atlassian.com/display/DOC/Office+Connector+Prerequisites>
>
> Cheers Christian

comments: author: Chloe Sowers
body: Another vote to support MS Project.
All images are dropped from imported Word documents
Asked by Jens Straten:

We just upgraded to Confluence 4.2.1 and suddenly we can no longer import Word documents properly. It worked in Confluence 4.1.7.

Is there a new setting in Confluence 4.2.1 or is it just broken?

Thanks,

Jens


Answers:
author: HuseinA
body: This is indeed a new bug in Confluence (starting 4.1.9 or higher) that only affects .DOCX documents. I've just filed a bug here at: <https://jira.atlassian.com/browse/CONF-25477> . The workaround currently is to convert the .DOCX document to .DOC format as suggested by JST68 above.


author: Jens Straten
body: Good to hear that I am not the only one. :)

You can always try my workaround above. Just convert the Word 2010 document to a Word 2003 document using "Save as" and changing the file type. It somewhat works. Minus some formatting loss, but I guess there is always loss during the conversion anyhow...

Hopefully, there will be a fix for us soon.

Thanks for replying to me!


author: IT Department
body: Didn't see this before and just posted the same question: [https://answers.atlassian.com/questions/52151/when-importing-word-document-images-fail-to-import-attach-and-display](/questions/52151/when-importing-word-document-images-fail-to-import-attach-and-display)

I lodged this with support 2 weeks ago, and they were unable to reproduce so i thought it was just me. I evaluated version 4.1.7 and it was working. My first production install was 4.1.9 which this functionality was broken and i lodged the support call, they were unable to solve or reproduce. I have since completed another fresh install, this time using the zip package for windows instead of one-click install. Same result.

I was about to try a linux distro so you saved me time - thanks.

One way we found as a possible work around is to create a new page, attach the word document manually, and then use the 'office word' macro to display the contents.

The tech mentioned that the office macro has changed (renamed) since on a recent released, so i imagine that they've managed to break the 'import word doc' feature as part of this change. :)


author: Jens Straten
body: I found a workaround. It still works when the word document gets converted from .docx (2010) to .doc (2003).

This is really confusing because it previously worked just fine with Office 2010...


author: Jens Straten
body: Could somebody please confirm that this is not working for anyone on 4.2.1? We are completely stuck... Thanks!


author: Jens Straten
body: Same issue on a fresh install. Platform is CentOS 6 x64.

Is it working for anybody?