youngmon/atlassian-qna huggingface dataset:
How do I change the tint colour from around the confluence searchbox?
Asked by Liam O'Neill:

When you click into the search box in the top right of the screen, the box is highlighted blue around the edges. How do I change this highlight colour? Is it in CSS?


Answers:
author: Sean Curtis
body: Alternatively you can set outline: none; - take a look at <http://jsbin.com/ekateg/1/>

You need to set a background or border in order for it to work in Firefox. This might be better than the heavy-handed approach presented by Oliver.

comments: author: Liam O'Neill
body: Thanks Sean, that worked a treat.

For reference to others, the CSS code is:

```
input {  background-color: #fff;  border: 1px solid #999;  outline: none;}


```


author: Oli S
body: If I understood you correct you mean the highlighting, which is comming from the browser.

this is a html5 thing. I struggled around a lot, as I wrote a theme for confluence.

its really hard tu supress this ;-)

something to read: <http://css-tricks.com/webkit-html5-search-inputs/>

what I've done:

```
input[type="search"] {    -webkit-appearance: textfield;}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration {    display: none;}/*http://css-tricks.com/webkit-html5-search-inputs/*/
```

I hope this helps

cheers

oli


Tags: css
How to get Confluence base url using beanshell
Asked by Pangianto Pang:

hi all,

How do i get the Confluence Base Url using beanshell? I have been searching everywhere :(

Thanks in advance.


Answers:
author: Bob Swift (personal)
body: You mean the **beanshell** macro? Use pre-defined variable: **confluenceDomain**

comments: author: Pangianto Pang
body: Hi Bob,

Thanks for your help. It is exactly what i am looking for.

Anyway where can i find the all the predefined variable for the beanshell macro?

Bob rocks!


author: Bob Swift (personal)
body: [Pre-defined variables](https://bobswift.atlassian.net/wiki/display/SCRP/Script+Plugin+for+Confluence#ScriptPluginforConfluence-Pre-definedvariables) - that one was missing, so I added it there :).

BTW, consider switching to Groovy. Beanshell is dormant and it is pretty easy to switch over.


Tags: base-url

beanshell
Show macro usage in confluence 4
Asked by childnode:

Hi,

is there any plugin, macro, etc. for showing how much a macros are used and if, on which sites?

There was a plugin called <https://studio.plugins.atlassian.com/wiki/display/CMUS/Confluence+Macro+Usage+Status+Plugin> some days, but outdated as it no longer works on confluence 4 ;(

This would be a great help to get a list of plugins never used and shouldn't maintained any more in the current installation.


Answers:
author: JohnA
body: Hi there,

I'm sorry to say that there isn't a macro or plugin that does this anymore for Confluence v4 but I have opened a feature request to ask that it is added to a future version of Confluence: <https://jira.atlassian.com/browse/CONF-26332>

As a workaround, [reproduced from this site](http://ffeathers.wordpress.com/2011/11/04/how-to-search-confluence-for-usage-of-a-macro/), you can search for a macro can be done by entering the following string into the Confluence search box, (where x is the name of the macro):

```
macroName: x*
```

**Notes for those implementing this workaround:**

* The key word is case sensitive. It must be "macroName", and not "macroname" or any other variation.
* There is a space between the colon and the macro name.
* The macro name (x, include, excerpt-include, and so on) is the value that you supply in wiki markup. (It is the name of the macro as defined in the "atlassian-plugin.xml" file.)
* The asterisk at the end of the macro name is required, to ensure that the search picks up all references. (Evidently the reason for this is that the value in the query is stemmed, but the value in the Lucene index is not stemmed. The asterisk will prevent the stemmer from kicking in.)

All the best,  
John

comments: author: childnode
body: This workaround is great for getting a quick view for a single macro, thank you for digging this out


Tags: confluence-app

macro
default expansion of sub-pages
Asked by Michael Motta:

pages have child pages. Left infopanel allows the page tree to be displayed. when I touch a page link on the infopanel on the left for any child page, I want to see the list of subpages expanded by default NOT collapsed, so that I must press + to expand. How do I change this default?


Answers:
author: Sandro Herrmann [Communardo]
body: Please look at this description <http://www.communardo.de/home/techblog/2011/05/02/improve-the-confluence-pagetree-macro-functionality/>


author: Amalia
body: You can go to the space and go to **Browse \> Space Admin \> Themes \> Configure Theme**. Untick the page tree checkbox and add the {pagetree} macro in the Navigation box. Here's the parameters that you can use:

<https://confluence.atlassian.com/display/CONF35/Pagetree+Macro>

You need **Start Depth** parameter to show the child pages
Allow space administrators to create their own groups or possibly add / remove people from groups
Asked by Ryan Alexander:

Hello,

First question: Is there a way to allow space administrators to create and manage their own groups with Confluence?

Second question: If not can they add or remove people from different groups that Confluence administrators create?

Thanks,

Ryan A


Answers:
author: JamieA
body: We have been using this plugin for a long time very successfully: <https://marketplace.atlassian.com/133>

It lets space admins create and edit groups, but they are prefixed with the space key. This is useful when you have a bunch of spaces that should all have the same permissions.

comments: author: Ryan Alexander
body: thanks Jamie


author: JohnA
body: Hi Ryan,

I'm sorry to say that isn't possible because that's not the function of a Space Admin. They're intended role is for managing the content of Spaces, but the ability to add or remove people from groups could easily be abused. For that reason those permissions are reserved for the next level of permissions, which is the Administrators who manage groups, users, backups etc. Then, finally, you have the System Administrators in the confluence-administrators group who are the super-users that have access to every component of the application.

If you want to give your Space Admins a bit more control over who has access to the spaces they manage, you might find the Community Bubbles plugin from Adaptavist will do that but it's only compatible with Confluence upto v4.0.5: <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.bubbles>

All the best,  
John

comments: author: Ryan Alexander
body: thanks John
Multiple uml-sequence macro on a single page with toc macro results to error.
Asked by Erwin Manuel:

Hi All,

If there is multiple uml-sequence diagram (<https://labs.atlassian.com/wiki/display/CUML/Confluence+UML+Sequence+Plugin>) on a single page, we need to use the 'file' parameter to make each diagram unique. We did this and everythings fine.

However, if we add a {toc} macro in the page, this results to error of all the uml diagrams in the page:

Error formatting macro: uml-sequence: java.lang.IllegalArgumentException: The file name for the uml-sequence macro must be unique. Use the 'file' parameter to specify a different file name.

Is there any fix or workaround for this? Thanks in advance!


Answers:
author: Mihaly Hazag
body: Define any kind of unique filename in the macro:

{uml-sequence: style=vs2010\|**file=2**}  
....  
{uml-sequence}

comments: author: Erwin Manuel
body: For some reason, the 'file' parameter does not work when {toc} is existing on the page. the uml still results into error, we were forced to remove {toc} for now.


Tags: table-of-contents
Error displaying Chart Data from Excel source
Asked by Jodie Miners:

Hi, I'm having a weird error trying to display some chart data from an Excel source.

My markup is this  
{chart:type=timeSeries\|dateFormat=MM/yyyy\|timePeriod=Month\| dataOrientation=vertical}  
{excel:file=MyFile.xls\|columnTypes=D,I}  
{chart}  
The exact same data just placed in a table format within the chart macro does not produce this error at all.  
Any ideas on how to fix this?  
There is a reference to a bug in the old Chart Plugin <https://studio.plugins.atlassian.com/browse/CHRT-77> but I can't find a bug listed in CONF since the chart macro has been taken over by Atlassian now.


Answers:
author: Jodie Miners
body: Ignore me, it must have been something to do with an additional column in the data.

I now have

```
{chart:type=timeSeries|dataOrientation=vertical|dateFormat=MM-yyyy|timePeriod=Month|columns=1,2|domainaxisrotateticklabel=true|DateTickMarkPosition=start}
{excel:file=MyFile.xls}
{chart}
```

And it works fine


Tags: chart

ms-excel
Formatting Dates using the Common table capabilities
Asked by Jodie Miners:

What is the exact syntax for formatting dates in a table (using Excel Macro), or what is the trick?. I can not get it to work at all.

My Excel content has column 1 as the date. The date is formatted in Excel as DD/MM/YYYY. In the wiki page I only want it to show as MMM-YYYY and be sortable so it sorts in date order.

Here is what I have tried.

* Format the Date in MMM-YYYY in Excel and set the columnTypes=D - sorts as text, not date.
* Format the Date in DD/MM/YYYY in Excel and set the columnTypes=D - sorts as Date - OK, but I don't want the day shown.
* Set columnTypes=DMM-yyyy - it does nothing
* Set the language=EN\|country=AU Parameters to see if that changes anything - nope.

Any ideas that can help?


Answers:
author: Bob Swift (personal)
body: Yes, you need the **date.js** file installed correctly for any [Advanced date sorting](https://bobswift.atlassian.net/wiki/display/TBL/Documentation#Documentation-Advanceddatesorting). Specifically in **.../includes/js**. However, there is no data converted - you are just telling the macro the format of the field for sorting purposes.

comments: author: Jodie Miners
body: Thanks for that answer Bob, so I gather then that there is no way to re-format the data at all between the display in Excel and the display in the page.

My answer is that I will have to display the date as MM-YYYY in Excel, install the date.js then set the Date format for the sort.

It all makes sense when you know how :).

Thanks


author: Amalia
body: which version of Confluence are you using?


author: Jodie Miners
body: 3.5.7 currently.


author: Jodie Miners
body: I think I may have answered my own question. Is the date formatting of DMM-yyyy etc only available if you install the date.js file on the server? I think I have tried that previously on another server and not had much luck with it.


Tags: ms-excel

table
CONF: How does one "connect to the database", for a stand-alone Confluence v3.5.5 instance ?
Asked by Freedom Is Not Anarchy:

GOAL: How does one connect to the database, for a stand-alone Confluence v3.5.5 instance ?

BACKGROUND:

I see a lot of people offering that we , ... connect to the Confluence DB, and execute SQL ... , for various purposes.

\* Where: When you look at the attached architectural diagram ... where is the DB , in this filesystem ? (It does not appear to be under /home/confluence ).

\* Connection String: Where is the connection string we can use ? Where , under /home/confluence ?

Thanks in advance for helping ?

<br />


Answers:
author: Rodrigo Girardi Adami
body: Hi there,

By external Database they mean to install one of the major databases that confluence supports and configure the application to use it. You can check the supported databases in the [supported platforms.](https://confluence.atlassian.com/display/DOC/Supported+Platforms)

In order to use a external database:

1) You must install in on your server by downloading in the vendor website.

2) [Configure it](https://confluence.atlassian.com/display/DOC/Database+Configuration) and create the database schema and username to access that schema.

3) [Install confluence](https://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide) and point it to the database connection URL (which will be presented to you when you install the database)

By doing these steps you'll have a confluence working with an external database.

If you'd like to migrate your current confluence data to the new one, I recommend to [create a XML backup and import into the new version](https://confluence.atlassian.com/display/DOC/Site+Backup+and+Restore)(**the source and target must be of the same version**).

Cheers,

Rodrigo


Tags: database
Unable to log in to Confluence, Jira works just fine
Asked by joshua kugler:

I am trying to clone an existing Confluence/Jira environment to do upgrade testing (this is Confluence 3.3 and Jira 4.2.4). The Confluence install uses the Jira DB for user authn/authz.

The cloned Jira environment is functional, and I can log in. The cloned Confluence environment is functional, but I cannot log in. It tells me "Sorry, your username and password are incorrect. Please try again." Multiple failures begin giving me a captcha I have to fill out. The config files are identical.

I've turned logging WAY up at /admin/viewlog4j.action, but nothing new is appearing in atlassian-confluence.log. I also turned on SQL logging, but not seeing anything in the log, or any new log files.

I am really at a loss.


Answers:
author: joshua kugler
body: I have been sync'ing just the data directories and databases.

After much fiddling and debugging with the help of JavaAtom on #atlassian, I did a fully rsync of the entire directories. That is, I rsync'ed the entire confluence and jira directories from production (/opt/local/_____) to the cloned server.

This worked, and auth worked on Confluence in the cloned environment. JavaAtom mentioned that maybe I didn't have the JNDI datasource in place in the cloned Confluence.


author: Amalia
body: Nothing new appearing in the log? Just want to double check this: have you changed the home directory location in the confluence-init.properties file in cloned installation folder?


author: TylerA
body: Delete the Trusted Application links (may need to remove the entires in the "trustedapp" table on both ends) and recreate them. Currenlty Confluence doesn't trust JIRA (or vice versa) because the authentication "fingerprints" have changed (much like a SSH or SSL fingerprint for a website or server).

How did you initially set up authentication?

comments: author: joshua kugler
body: I deleted the trusted apps, and configured new ones with the URLs of the cloned instances.

Still no worky. The Auth config on the Confluence config has a URL directly to the MySQL database. I don't know if actually does API calls for auth.


author: joshua kugler
body: Also: added com.atlassian.user and com.atlassian.confluence.user to the list of logging Classes, and set them to ALL.
CONF: How does one "connect to the database", for a stand-alone Confluence v3.5.5 instance ?
Asked by Freedom Is Not Anarchy:

GOAL: How does one connect to the database, for a stand-alone Confluence v3.5.5 instance ?

BACKGROUND:

I see a lot of people offering that we , ... connect to the Confluence DB, and execute SQL ... , for various purposes.

\* Where: When you look at the attached architectural diagram ... where is the DB , in this filesystem ? (It does not appear to be under /home/confluence ).

\* Connection String: Where is the connection string we can use ? Where , under /home/confluence ?

Thanks in advance for helping ?

<br />


Answers:
author: Amalia
body: Have you performed any [Confluence installation](https://confluence.atlassian.com/display/CONF35/Installing+Confluence+Standalone) using the [Setup Wizard](https://confluence.atlassian.com/display/CONF35/Confluence+Setup+Guide) before? If not, please refer to those links and follow the recommended step on how to setup Confluence to work with the external database.

If you've installed Confluence using the [embedded HSQLDB](https://confluence.atlassian.com/display/CONF35/The+Embedded+HSQLDB+Database) (for evaluation purposes only), the data is stored in [Confluence Home Directory](https://confluence.atlassian.com/display/CONF35/Confluence+Home+Directory). Otherwise, it's stored in your chosen external database.

The connection string is stored in *confluence.cfg.xml* file in Confluence Home Directory. This file is created during the installation.


Tags: database
Some options missing (plugins and layout)
Asked by tallblondetom:

Hi there

I'm trialing Confluence out to see if it's suitable for my organisation. A few of the articles I've read on customising talk about going to the 'layouts' section of the admin panel, and also installing plugins from the plugins page. Neither of these options appear to me. THere is no option to install on the plugins page, and I don't see a layouts page. Is this beacuse I'm only trialing the software, or because it is on-demand, or some other reason?

Many thanks!

Tom


Answers:
author: Nic Brough -Adaptavist-
body: Yes. It seems that Atlassian don't shout this loudly enough when people sign up for OnDemand

<https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy>


author: Dean Vermeire
body: Are you logged in as an Admin?


Tags: cloud

confluence-cloud
How do I upload from my local host to the company server?
Asked by Susan Alderson:

I have a local copy of Confluence, and we successfully ported it to the company server - except that it was an older version of my intranet! I want to try again, but there must be an easier way. Any ideas?

Thanks!

- Susan


Answers:
author: AlysonA
body: Susan,

I'm glad to hear I was able to help you. If you have further questions please don't hesitate to ask, you're in the right place. :)

Cheers


author: Susan Alderson
body: Thank you!! I could not find that page anywhere! Well, now it is bookmarked, and I've got my IT team on it. I work remotely, across the country from the IT team, and they are working with servers located in another country altogether. I really appreciate the help!

- Susan


author: AlysonA
body: Hi Alderson,

If I understood you correctly, you would just like to copy your current instance to another server? If that's the case, [the process is quite straightforward](https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers).

Hope it helps.
Is there a plugin for tracking how many people visit my confluence page?
Asked by Avinash:

Hi,

I am using confluence 3.5.9. I was wondering if a plugin was available for tracking the number of people visiting my confluence page. Something similar to the view count you find on youtube. Any solutions? plz help!

Thanks!


Answers:
author: Laurent Corbi?re
body: Hi,

You can use this plugin: <https://marketplace.atlassian.com/271>

or if you already have the Scaffolding plugin installed you can use the tracking-info macro: <http://wiki.customware.net/repository/display/AtlassianPlugins/tracking-info>

Hope it helps

Laurent


author: JohnA
body: Hi Avinash,

Many customers find that the Google Analytics plugin is very good for this purpose, so that is what I would suggest you try first: <https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.plugins.googleanalytics>

All the best,  
John


author: Giuliano C.
body: ```
You can also enable the user access logging: https://confluence.atlassian.com/display/CONF41/How+to+audit+Confluence+-+enabling+user+access+loggingIt won't show exactly how many users have accessed your instance, but it will generate a basic log indicating which users are accessing which pages in Confluence.
```


Tags: page

track
JIRAISSUES macro results in expired certificate error in Confluence
Asked by Ken Hymes:

Using JRIA 5.1.1 and Confluence 4.1.5.

I've created a page that has the JIRAISSUES macro embedded in it. After I added the properties to the macro and ran a test, I got an expired certificate error message (attached). My admin tells me we have trusted application permissions set between JIRA and Confluence. Anyone have any ideas on how to resolve this error?

![](../../upfiles/Confluence_JIRAISSUES_macro_error2.JPG)


Answers:
author: Nic Brough -Adaptavist-
body: Ah, I've run into this - your administrators need to generate or get a new certificate and install it on the Jira server in place of the old one.

comments: author: Ken Hymes
body: Thanks, Nic. I will pass that bit of info along to our admin! Much obliged...


author: Faisal
body: Hi Ken,

This problem could arise because there is a time difference between JIRA and Confluence server. Hence in order to fix this, you may try to synchronize the clock for both of the server.

More details on this, kindly refer to the following KB article:  
<https://confluence.atlassian.com/display/JIRAKB/CertificateTooOldException+when+Configuring+Trusted+Communication>

Hope this helps!

comments: author: Ken Hymes
body: Thanks, Ahmad. I've now reviewed the Confluence issue and passed along to my admin. Hoping that resolves the issue! :-)


author: Chris Astall
body: How can one get around this without regenerating the cert? It should be possible to tell the macro to ignore the server error.


author: Nic Brough -Adaptavist-
body: Ah, I've run into this - your administrators need to generate or get a new certificate and install it on the Jira server in place of the old one.


Tags: issue

jira
How to change the color of a row in a table
Asked by John Hanna:

Hi,

In this article: <https://confluence.atlassian.com/display/DOC/Working+with+Tables> it says that You can choose a colour from the dropdown arrow next to the three highlight options. I don't see this dropdown arrow anywhere next to the three highlight buttons. Can you tell me how to highlight a row with a different color in Confluence?


Answers:
author: Amalia
body: I believe this documentation only applies to Confluence 4.3, as can be explained from [this feature request](https://jira.atlassian.com/browse/CONF-6482). This feature will only be introduced in 4.3 and above.

There is [a workaround](https://confluence.atlassian.com/display/DOC/Working+with+Tables?focusedCommentId=213519751#comment-213519751) to change the background color of the row/table. However, this will change the color of all the rows globally


Tags: colour

highlight

table
New users no longer added to confluence-users on first login
Asked by Eric Rutherford:

After upgrading to 4.1 users are no longer added to confluence-users by default. I should also mention that we switch to SSO using RubyCAS at the same time of the upgrade, but we've also noticed that users aren't automatically added to confluence-users on other 4.x instances that we have. Is this a symptom of confluence-users being phased out or have we hit a bug?


Answers:
author: Septa Cahyadiputra
body: To ensure that the custom authenticator is not the cause of the issue, you might want to revert back Confluence *seraph-config.xml* to default first to troubleshoot the issue.

The "default group" feature is dependent to the configured authenticator, so this method will confirm if the cause of the issue is the custom sso or not.

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: group

login

permission