youngmon/atlassian-qna huggingface dataset:
How to maintain "Added by.., last edit by...on..."?
Asked by Irene Daminelli:

Hello,   
I'm creating a custom PDF export. I would maintain the information of the page (author, last edit date..).

Furthermore when I export, I would have :

- @page an image in the header, of which I can decide the size;  
- page and space's names of the current page, from which I exported.  

Can you help me?   

I don't know so much of CSS.

Thank you in advance.  

Irene


Answers:
author: Oli S
body: Perhaps it makes sense if you take a look into the Scroll Pdf Exporter Plugin.

You can define Templates to export your content as you want.

<https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-pdf>

We generate all our documentations with this plugin - same reasons as you ;-)


Tags: cloud

confluence-cloud
Jira Gadgets are not showing on Confluence Page.
Asked by Sreenivasaraju P:

Added few Jira gadgets like Pie Chart,Activity stream,column order ..etc on Confluence Page.

These gadgets are showing on the Confluence page properly when i am trying from our office network. If i try from Internet few gadgets like Activity stream,column order plugin are not showing. but Pie chart is showing properly.

Has any one faced this problem? how can we fix this .


Answers:
author: hsuhailah
body: Does the Confluence URL accessed from the office network is the same as the Confluence URL accessed in the Internet?

Also, does this issue observed in all types of browsers?

comments: author: Sreenivasaraju P
body: URL is same for both Confluence and Jira internally and externally.

Yes. It is observred in chrome, IE,Firefox and Safari.


author: Sreenivasaraju P
body: URL is same for both Confluence and Jira internally and externally.

Yes. It is observred in chrome, IE,Firefox and Safari


author: Sreenivasaraju P
body: Both Jira and Confluence are available on Internet.

Pie chart gadget is showing fine. Activity stream \& column order plugin not showing properly.


author: RianA
body: Is your JIRA exposed to Internet? There's a possibility that this is due to some internet issue if this is the case due to it's located on different network.
Facing problem when Migrating Mediawiki contents to Confluence
Asked by Satyam Roy:

I want to migrate some contents from my MediaWiki to Confluence.

I researched about UWC converter and tried it out with my local instances and it was working perfectly. But when I tried it out on out production instances it started giving some errors. After investigating I found out that that the pages of Mediawiki gets stored in the "text" table of the database.

I found out that our Mediawiki's "text" table stores the pages in "UTF-8, gzip" format while the actual instance stores it in "UTF-8" format. So whenever I try to export mediawiki content using UWC, it produces text files which have binary values in it. This is why while importing the pages to Confluence it produces error.

Can anyone please help me on how can I remove this error or how do I address this problem.


Answers:
author: PeterKoczan
body: Hi,

Not a tested solution, but I'd try to migrate the content writing a php script to extract the gzip data with[gzipdeflate()](http://php.net/manual/en/function.gzdeflate.php) and re-insert into an exact copy of the original TEXT table. Then for the time of migration, switch between the two tables. Ugly workaround, but could do the trick.

Cheers,

Peter


Tags: mediawiki

migration

universal-wiki-converter
User profile plugin issue
Asked by Mohammad Garrah:

User profile plugin does not display the org chart.

It is stuck on calculating org chart.


Answers:
author: Ellen Feaheny [AppFusions]
body: Also the Enterprise Directory and Org Chart plugin blogged about here:

<http://blogs.atlassian.com/2012/09/marketplace-monday-enterprise-directory-and-org-chart-for-confluence/>

You can get a license from AppFusions direct [info@appfusions.com](mailto:info@appfusions.com)

It is fully supported!


author: StephanieC
body: The issue was handled within our support.

Please check if these points are matched:

* Is the most recent version of the User Profile Plugin installed? If not, which version do you use?
* Which version of Confluence do you use? Is it compatible to your User Profile Plugin version?
* Is there a profile field of tyope "User"?
* Is the org chart configuration set to this field?

If these conditions are complied, we recommend the following strategy:

* manually start the job for OrgCharts (section Administration - Scheduled Tasks)
* check, if the chart is displayed correct

If the problem continues, we need your log file of the application to analyze your problem. Please provide the Confluence log file, following these instructions: <https://support.communardo.de/x/N4GhAQ> .

I hope this helps to solve your issze. Otherwise please do not hesitate to contact me again.

Cheers,

Stephanie Hoffmann

comments: author: Franz Reichard _Communardo_
body: Hello,

as we moved our documentation you will find the instructions for the Confluence Logs [here](https://communardo.atlassian.net/wiki/spaces/KB/pages/27687380/Where+is+the+Confluence+log+File) now.

If you have further questions or support requests you can always [contact our support](https://jira.communardo.de/servicedesk/customer/portal/2).

Kind regards

Franz  
Communardo Support


author: Mohammad Garrah
body: user profile plug-in.

Its not for free.


author: Stefan Eike
body: Confluence can generate org charts automatically? Really? Which plug-in do you use?


author: Bruna Griebeler
body: Is hard to point what's happening without the logs.

I suggest you to search on the logs something related to the chart and post it here. Also you can create a support ticket so we can further investigate this.

Cheers!


Tags: addon-de.communardo.confluence.plugins.userpro

confluence-administration

user
Embed linked pages in PDF Export
Asked by Ingo Ostermann:

Hello,

I have written a page in Confluence in which I link to some other Confluence-pages.

Now I want to export this page including the linked pages in the PDF.

How is this possible?

<br />

Greets,

Ingo


Answers:
author: Stefan Eike
body: Maybe it is possible to replace links with 'include-page' macros?


author: Ingo Ostermann
body: ok, this works.

thx
Bullet list type in Confluence
Asked by DanielG:

Hi,

It's probably a basic question, but I don't know how can set the list style when I edit a document on Confluence. By default, Confluence set circles to type list, but I want to make a question: How I can set squares and not circles in bullet type list?  

Thanks in advance!  

<br />

<br />

Regards,  

<br />

Daniel


Answers:
author: Stefan Eike
body: I think there's no shortcut for that. Using autoformatting:

1. Create a linefeed.
2. Press **\[-\]** (Minus) and **\[Space\]**.

comments: author: DanielG
body: Thanks! This works!

But would be ideal if Confluence let you choose bullet type list... :(  


author: Stefan Eike
body: ... or use a the [Adaptavist Style Macro](http://www.adaptavist.com/display/AtlassianConfluence/style+macro):

```
{style}ul {  list-style-type: square !important;}{style}
```


author: Kirstin Seidel-Gebert
body: Hello Daniel,

you could use the "Confluence Source Editor" plugin to edit the storage format of the page and add styling to your list.  
It's not really a nice way, but it works.

Cheers,  
Kirstin


Tags: list

css

export
Documentation Theme - code to reorder child pages?
Asked by David Sidwell:

From my reading it seems that **default** theme pages can have its child pages manually reordered, but not sure if the **Documentation** theme ones can. We have a number of docs to imports (Word) and the default order isn't what we want (when we split my Heading Two, for example). Is there a way around this with coding? Or another theme which does allow this? Thanks!


Answers:
author: Oli S
body: In the Documentation Theme you could reorder the pages in the Space Admin.

If you go to pages/listpages-dirview.action?key={your-spacekey} you could reorder via drag \& drop.

Hope that helps

comments: author: David Sidwell
body: Thank you. That works. I got a tiny bit confused by the "default theme only" bit in:
> 2 Choose **Browse and Reorder Pages** *(default theme only).*

from <https://confluence.atlassian.com/display/DOC/Changing+the+Sequential+Order+of+Pages>

Plus we are back-level on Confluence too, which doesn't help :-(

Thanks again.
Confluence 5.0 onwards - Space Labels/Categories
Asked by Natalie Hobson:

I am completely confuzzled by the documentation for 5.0 onwards regarding [Space Labels](https://confluence.atlassian.com/display/DOC/Using+Labels+to+Categorise+Spaces). It clearly states that a category is a label applied to a space for the purpose of categorizing it in the space directory; totally understand that part, and it appears to be the functionality of the version we currently have installed (4.3.6). A label only exists if it is applied to a space, and you can view the labels associated with spaces by looking at the space directory, you can remove labels from spaces, and if you remove a label from all spaces it was associated with it no longer exists and is no longer seen in the space directory, correct?

Where I get confused is at the bottom of the page for documentation that I linked above; there is a section called "Notes" which states:

"The ability to add space labels has been removed in [Confluence 5.0](https://confluence.atlassian.com/display/DOC/Confluence+5.0+Upgrade+Notes) in order to simplify the way labels are used in spaces. Existing space labels will be preserved, but you will be unable to add new space labels. Space categories are unaffected by this change."

So, is it just that "space category" is the new terminology for "space label"? Are the space labels turning into space categories? Or will people have to manually create space categories and then delete the space labels? Because if so, the documentation could certainly use some clarity. And why not just keep calling them space labels? Especially since previous functionality for "space categories" in older versions of Confluence was completely different (you created a category \*first\* and then associated the space with the category, and categories could exist even without any spaces in them, if I remember correctly).

Any clarification that Atlassian could provide would be most welcome! :)


Answers:
author: Ryan Goodwin
body: Yes, the new terminology denotes that labels which used to be applied to spaces to identify the relationship amongst everything with that label, has been coined 'space categories' which now can be seen from the dashboard under the space categories tab, then filtered to display relevant content from spaces with that category.

Hope that helps!

comments: author: Natalie Hobson
body: Thanks Ryan - I hope that Atlassian starts putting more effort into streamlining terminology; in that documentation there are instances of "labels" and "categories" being used interchangeably (based on the theme of the space user is trying to configure for), and now there's the "plugin" to "add-on" terminology change...annoying! :)


author: Ryan Goodwin
body: Don't get me started on plugin to add-on terminology changes! I am in total agreement with you there :)


Tags: label

space
In Confluence 5.1.1 what is the purpose of the word "Pages" on top of every page?
Asked by Nari Man:

In 5.1.1 on top of the page in the bread crumb the first word is always "Pages". It is useless IMO. So I wonder if someone knows the purpose of it?

Let me ask the next questions right away, Can I get rid of it and how?

Thanks


Answers:
author: Nari Man
body: There is really no clear answer for this. I mark this answered with "Bad UI design".


author: Nari Man
body: I see. Thanks.

I do not like it though. It is not good UI desgin.


author: Colin Goudie
body: I would say the purpose of it is because of the new focus on content types in Confluence 5.1 So you would see things like Pages, Blogs but also additional content types generated via Blue Prints


author: Septa Cahyadiputra
body: I believe the "Pages" link will redirect you to the "Pages" page which will show you the rencently updated pages on the space and listed all the pages there.

This "Pages"act as the root page of every pages on the space if you use "Default Theme".

comments: author: Tina Guan
body: I thought it was a bug. Doesn't it suppose to be pagename? you already have a side bar with "page" if you use "Default Theme". So I had to switch to "doc theme" :(


Tags: breadcrumbs

confluence-administration

page

user-interface
Legacy Calendar plugin issue -- errors & sluggish performance
Asked by Jim Bethancourt:

We're using the legacy Calendar plugin (migrated slightly to work with Confluence 5), and one of our calendar navigation and loading is a bit sluggish and throws errors fairly frequently. It has a fair amount of data in it, but the same calendar works fine in our sandbox environment without any of the same issues.

The confluence log reports the following stacktrace:

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getEvents' in class com.atlassian.confluence.extra.calendar.display.Day threw exception java.util.ConcurrentModificationException at /templates/extra/calendar/month.vm\[line 38, column 38\]

at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507)

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)

Has anyone else run into this issue before?

Note: This is not the Team Calendars product that Atlassian offers, but the Calendar Plugin that was offered before it was commercialized.

Thanks,

Jim


Answers:
author: Ryan Goodwin
body: Hi Jim,

Have you compared the system information from both prod and staging? If the application is the same for both staging and prod, but the behavior is different, then there must be something environmentally different.

I would look to ensure the same jdk version is installed, same version of tomcat etc. Possibly run a diff on all the files under the confluence/ deployment folders.

comments: author: Jim Bethancourt
body: Hi Ryan,

Turns out the solution was to upgrade the Java code to use ConcurrentHashMaps instead of HashSets. This fixed the ConcurrentModificationExceptions. There was a little bit of touching up of the javascript that needed to happen as well, but it was pretty minor.

Thanks,

Jim


Tags: confluence-administration
Notification email uses page name as link
Asked by John Alton:

The notification email uses the page name as the link, instead of using the Tiny Link.

Is this configurable / can I change the link to use the Tiny Link instead?

thanks,

John


Answers:
author: Marlon Aguiar
body: Hi John,

I personally believe this is a great idea, but unfortunately I don't think there's an available option to configure this.

I've searched [jira.atlassian.com](http://jira.atlassian.com) and could find this improvement request regarding it: <https://jira.atlassian.com/browse/CONF-27845>. I recommend you to vote for it to improve it's priority and also add a comment there, a lot of people don't realize but the more activity a improvement request get the more likely it gets for it to be implemented.

Hope this information helps!

Cheers,  
Marlon Aguiar

comments: author: Chad Krogstad
body: <https://jira.atlassian.com/browse/CONF-27845> has since been set to Won't Fix. :(Also, a previous request was resolved to Won't Fix as well the prior year. <https://jira.atlassian.com/browse/CONF-29764>In their defense votes were 0 and 3 respectively.


author: John Alton
body: Thanks, Marlon. I voted and am now watching that improvement request. Thanks for calling it to my attention.  
Aside: Did I go to the right place for this issue? I'm never sure which location to begin questions like this...  
thanks,  
John


Tags: confluence-administration

email

notification
Logo to be displayed as a rectangle not in form of a circle
Asked by Bianka Reinhardt:

Our logo merged to a circle in version 5. How can it be displayed correctly?


Answers:
author: Bianka Reinhardt
body: Hi Marlon,

perfect, yes this answer helps. Unfortunately it is not what I wnated to hear. But nevertheless, thanks for your quick answer.

And I will follow your recommendation to voice my concerns because this ist something that must be changed!

Thanks again.

Best regards

Bianka


author: Marlon Aguiar
body: Hi Bianka,

This was introduced in Confluence 5 and unfortunately there's no available workaround for OnDemand users at this time (other than making the logo smaller to fit the round space). I recommend you to read the bug report that was raised regarding this : <https://jira.atlassian.com/browse/CONF-28275>

I also strongly recommend you to voice your concerns there, it was closed as Won't Fix but still there's a lot of users that are against this change and the more people voice against this the more likely that something will be done to change it.

Hope this information helps!

Marlon Aguiar


Tags: cloud

confluence-cloud
Forcing a new tab to open when clicking on a link
Asked by Mick Davidson:

Hello,

Is there any way that I can force Confluence to always open the destination page in a new tab?

I know that you can change IE's settings to do this, but I want to know if this is possible in Confluence, rather than the browser. If it has to be done in the browser, then I'll have to get everyone to change their browser settings, which won't happen.

Cheers.


Answers:
author: EddieW
body: You can use some custom HTML to make external links open in a new window, covered by Atlassian's docs.

<https://confluence.atlassian.com/display/DOC/How+to+Force+Links+to+Open+in+a+New+Window>

comments: author: Mick Davidson
body: Eddie,

thanks, that looks interesting. I'll pass it on to the senior admin and see what he has to say about it. The immediate downside is that this would be applied to the whole wiki, which might not be aceptable. If we can apply it to a specific space, that would be perfect.

I'll update my question when I find out more.

Cheers.


author: Mick Davidson
body: LOL, just found out you can open a link in a new tab using the scroll button! Which is fine, but we want to have something that works automatically so that users don't have to worry about it, it just happens.

Cheers.


author: Natoe
body: I just enabled the html and added the following line of javascript for the relevant pages.

```
&lt;script&gt;AJS.$(".wiki-content a").attr("target","_blank");&lt;/script&gt;
```

The code above just turns the links within the wiki page defined by the css selector **.wiki-content.**

If you want to narrow the field of effect, just choose a different DOM parent element.

:smile:


author: Daniel Amaral - Autoglass
body: The solution is here:

<https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html>


author: Jeison
body: Hi Mick! Not sure if you have Confluence OnDemand or standalone. For standalone, you can achieve that by adding some JS in the custom HTLM section. You'll see full instructions at <https://confluence.atlassian.com/display/CONFKB/How+to+Force+Links+to+Open+in+a+New+Window>

For OnDemand you won't be able to insert custom HTML.

Hope it helps!


author: EddieW
body: I don't know of a way, but I would just comment what an awfule browsing experience if ALL links opened in a new tab. I would have 16 tabs open just looking for the info I need. <http://uxdesign.smashingmagazine.com/2008/07/01/should-links-open-in-new-windows/>

Opening only *external* links may be a valid use case, which I have answered below.


Tags: new-window
Will Confluence 5 support all the plugins of Confluence 3.5?
Asked by Madhanaa Rajendran:

Will Confluence 5 support all the plugins of Confluence 3.5?


Answers:
author: Nic Brough -Adaptavist-
body: I completely understandable why you ask, but this question is the wrong way around. A more useful question is "will plugins that work for 3.5 work on version 5?".

This is because there is no way Confluence developers can be expected to know what plugin developers may have done and code to support them, it's a bottomless bucket of worms which they can't code for. Confluence does not "support" any plugins, it's the other way around - the plugins need to "work with confluence"

The short answer to that more useful question is "no". Some might work as they are, but most will need to be recompiled against the updated API. For a large jump such as this, many will need code adjustments before they work.

You will be relying on the authors of each individual plugin to update their plugin to match the 5.x APIs. Not all of them will (especially if a plugin is made redundent by new features)


Tags: cloud

confluence-cloud
How do you apply a custom font to an exported PDF?
Asked by Dan Burzynski:

The [instructions](https://confluence.atlassian.com/display/AOD/Advanced+PDF+Export+Customisations) make it sound easy, but when I attempt it, nothing happens. For example:

```
@font-face {  font-family: BryantBold;  src: url(file:///usr/share/fonts/BryantBold.otf);  -fs-pdf-font-embed: embed;}        h1, h2, h3, h4, h5, h6, .blogHeading {    font-family: "BryantBold", "Trebuchet MS",Trebuchet,sans-serif;    font-weight: normal !important;    }
```

From what I understand, if that font is located on the the Confluence server (which it is) that CSS there should embed the BryantBold font into the PDF and apply it to headings. The problem is, that it doesn't seem to do so.

Two differences I have in my code to the example is that I user the font-family: element in @font-face and I'm using an opentype font instead of a truetype one. Could either of these be a factor? (I know that the h1 etc styling is targeting correctly as dumping in a font-size: 4em; into the mix makes all my headings in the PDF large. It's just that damn font-face not being applied.

Any suggestions?


Answers:
author: Daniel Borcherding
body: Hello Dan,

From the following KB we see that Confluence only suports true type fonts.

<https://confluence.atlassian.com/display/CONFKB/How+to+Export+PDF+Using+OpenType+.otf+Font+File>

This article hepfully links to a converter that will allow you to convert your .otf into the proper format.

Please let us know if you have any troubles.

comments: author: Dan Burzynski
body: Thanks for your help. I converted the font to a TTF, tried again and still no luck. :-(


Tags: confluence-administration
File will not be shown in Office Excel Macro
Asked by Bj?rn Eitmann:

Hi \*

I attached an excel-file to a normal page and want to present it with the Office Excel Macro, but the file will not be shown in Office Excel Macro dropdown field?

Any ideas?


Answers:
author: Septa Cahyadiputra
body: Try to refresh the page first, or you can try to [rebuild indices from scratch](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch) as well and see if the issue persist.


author: Tim
body: If you are using IE8, it is maybe this issue:

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


Tags: ms-excel

ms-office