youngmon/atlassian-qna huggingface dataset:
live search macro: change button text "go" to "search"
Asked by Gustav Stresemann:

I use the Live Search macro in my theme. Is there a simple way to change the button name? I would like to rename the text of the button "go" on "search". Thank you for tips  


Answers:
author: David at David Simpson Apps
body: Browse to:

```
Confluence Admin | Look and Feel | Custom HTML 
```

In **At end of the HEAD**, add some JavaScript similar to this:

```
&lt;script&gt;  AJS.toInit(function(){    AJS.$('.plugin_livesearch_buttonbox input').val('Search');  });&lt;/script&gt;
```

comments: author: Gustav Stresemann
body: Wow, you're my hero! :) It works fantastic and I'm happy. However, I have a question about this script. Why do I have to write "val", instead write "value"? In the tag \<input type="submit" ***value***="$action.getText('livesearch.macro.go')"\> but is also "value" write and not "val"!?

Thank you!


author: David at David Simpson Apps
body: We use **.val()** because we're using the jQuery method [.val()](http://api.jquery.com/val/) to manipulate the DOM.


author: Matthew J. Horn
body: This is obviously a jQuery specific question, but do you know if you can set the value to an image rather than simple text? For example, a magnifying glass image?


Tags: button

live-search
Editing an Office Document from Confluence
Asked by Kate:

I use this option very often. And I'm asked to log in to our Confluence server every time. It so annoys me :)

Why does it happen?And how can I avoid it? :)

p.s.: Sorry for my english! ;)


Answers:
author: Jo-Anne MacLeod
body: Are you running an older version of Confluence? We had that same problem and that is why we had to upgrade to 3.5.3. It resolved the problem.

comments: author: Kate
body: Our admin should try to do it. Thanks! :)


Tags: ms-office
setup wizard installation error
Asked by vitally andrusiak:

Im getting this error, I did and installed everything what step by step guide says.

Installing EAR version of confluence on tomcat5.

Im running linux rhel 5 as a VM with no GUI.

**The following error(s) occurred:**

* Configuring the database failed. Couldn't create the database schema.
* Error creating bean with name 'xhtmlMailContentProcessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'xhtmlXslTransformer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xhtmlXslTransformer' defined in class path resource \[renderingContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class \[com.atlassian.confluence.xml.XhtmlXalanXslTransformer\]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: javax.xml.transform.TransformerFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/transform/TransformerFactory;


Answers:
author: sudheer yakkala
body: Thanks for the link Harry. Mine is windows environment and Tomcat was installed using the installer version. It has xml-apis.jar, which seem to have javax/xml/transform/TransformerFactory. Once I deleted it from the 'endorsed' folder, the issue went away.

Sudheer


author: Harry Chan
body: Hi Vality and sudheer,

Did you install Tomcat from RPM? If so that might be the problem. Refer to the knowledgebase article in <https://confluence.atlassian.com/display/CONFKB/Installation+or+Upgrade+of+Confluence+4.0+EAR-WAR+Fails+on+Red+Hat+or+CentOS> for a fix.

Cheers, Harry.


author: sudheer yakkala
body: I am also running into the same issue. Trying to install

Confluence 4.2.13 on tomcat5.

tomcat5.exe was running with JDK1.6.0_04, which is listed as compatible version.

JAVA_HOME was also set to JDK1.6.0_04.

Any ideas?


author: hsuhailah
body: Hi Vitally,

I suspect that the JDK you are using for Confluence is not compatible/supported. See supported JDK (Oracle) at <http://confluence.atlassian.com/display/DOC/Supported+Platforms> (assuming you are using Confluence 4.1 at the moment)

-Hanis-


Tags: error

install
Google Maps within Confluence 4.0
Asked by MASH Trust Atlassian ICT Team:

Hello,

Just wondering what the best way to go about showing maps within Confluence?....

I would like personalised infomation listed in the bubble when clicked on...

Is there a plug-in that would do this for me? - or do I pull direct from googles code some how??

Would be very interested in your thoughts...

Regads,

Grant


Answers:
author: Matt
body: You can use the Widget Connector to embed a Google Map in Confluence:

<http://confluence.atlassian.com/x/rwuyCg>


author: David at David Simpson Apps
body: I would create a user macro to display maps built in Google Maps.

e.g. something like this...

```
## Macro title: google-map## Macro has a body: Y ## Body processing: No macro body## Output: HTML#### Developed by: David Simpson## Date created: 2011-10-16## Installed by: My Name## This is an embedded Google Maps user macro## @param url:title=URL|type=string|required=true|desc=The URL of the embedded frame## @param width:title=Width|type=string|default=800|desc=Width of the map## @param height:title=Height|type=string|default=600|desc=Height of the map&lt;iframe width="$paramwidth" height="$paramheight" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="$paramurl"&gt;&lt;/iframe&gt;
```

The URL parameter is the URL from the "**Paste HTML to embed in website**" field in the screenshot linked below:

e.g. <http://minus.com/mNBPNOuyD>
3.5 and 4.0 Themes
Asked by Chris Boehmer:

My company is a current user of Confluence, and we are looking at upgrading to 3.5 or 4.0 in the near future. We want to know what themes come, and their features, so that we can see if we want to customize the themes for our space templates, or use the standard installs.

Could you provide me information about the standard themes that come installed on both 3.5 and 4.0 with descriptions of each? Thanks!


Answers:
author: Matt
body: Here's info on the [Documentation Theme](http://confluence.atlassian.com/display/DOC/Confluence+3.2+Release+Notes#Confluence32ReleaseNotes-NewDocumentationTheme) and [Easy Reader](http://confluence.atlassian.com/display/DOC/Confluence+3.2+Release+Notes#Confluence32ReleaseNotes-NewEasyReaderTheme) Theme.


author: Chris Boehmer
body: Could you point me to information on the 3.5 standard install themes? We are currently running 3.2.1, and I can't seem to find any info about the themes that come with 3.5.

Thanks!


author: Matt
body: There are no changes to the out-of-the-box themes that ship with Confluence 4.0 compared to 3.5. For a list of available themes and descriptions just go to Space Admin \> Themes

If you're looking for a third-party theme that's compatible with 4.0 and offers customization capabilities, I'd suggest looking at RefinedWiki's Original Theme:

<https://plugins.atlassian.com/plugin/details/15231>

comments: author: Chris Boehmer
body: Could you point me to information on the 3.5 standard install themes? We are currently running 3.2.1, and I can't seem to find any info about the themes that come with 3.5.

Thanks!
JIRA Issues macro not displayin in Confluence.
Asked by IT KnowledgeSystemsManagement:

I am having an issue were the JIRA Issues macro in an upgraded Confluence (3.1.2 -\> 3.5.5) no longer displays issues. Instead we have the following. Both the JIRA and Confluence servers are setup as trusted applicaitons of each other.

```
Could not load org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser&lt;br/&gt;class java.io.IOException
```

<br />


Answers:
author: Matt
body: OK, Confluence 3.5 introduced Application Links. Try [upgrading your existing trusted connection](http://confluence.atlassian.com/x/uIcKDw) with JIRA.


author: Matt
body: I would first check to see if there's an upgrade available for the bundled JIRA Macros plugin uner Confluence Admin \> Plugins \> Upgrades

Also, what version of JIRA are you running?

comments: author: IT KnowledgeSystemsManagement
body: Hey Matt,

The JIRA server is 4.2.4 and we are running the Confluence JIRA Macro's version 3.1.1 which is the last Confluence 3.5 supported version of the macros.
Scaffolding & reporting plugin
Asked by Gabriel Sejournant:

I have a first table and I want to have on it a report table of three values off my scafoold datas on children pages.

In my children pages, I'm using :

> <br />
>
> {repeating-data:td\|initialRows=1}
>
> \*First\* {text-data:Nb1\|type=line}Nom de la t?che{text-data}
> \*Second :\* {text-data:Nb2\|type=line}Resonsable{text-data}
> \*Third\* : {text-data:Nb3\|type=line}Pourcentage d'avancement{text-data}
> \*Commentaire :\*
>
> \\\\
>
> _{text-data:Com\|type=area}Commentaires{text-data}_
> ----
>
> {repeating-data}
>
> **I wanted to have A table report with the 3 first values on my first page, so i wrote :**
>
> **{report-table}**
> {content-reporter:space=@self}  
>
> {content-reporter}  
>
> {report-header}{center}\*Report Table\*{center}{report-header}  
>
> {report-column:title=First}{report-info:data:Nb1\|link=true}{report-column}
>
> {report-column:title=Second}{report-info:data:Nb2}{report-column}
>
> {report-column:title=Third}{report-info:data:Nb3}{report-column}  
>
> {report-table}{column}
>
> But It doesn't work !
>
> What am I wrong ?
>
> What to do to correct it and to have my table with the 3 scaffold values of children pages ?


Answers:
author: David Peterson
body: Hi Gabi,

You need to tell reporting to loop through your 'tb' repeating-data value to get at the fields inside. If you're going direct for the sub-contents, you'll need to expand on the field as well. Eg:

{report-table}

{expanding-reporter:data:td\|as=td}

{local-reporter:page:children}

{text-sort:page:title}

{local-reporter}

{expanding-reporter}

{report-column:title=First}{report-info:expanded:td \> data:Nb1}{report-column}

{report-column:title=Second}{report-info:expanded:td \> data:Nb2}

{report-empty}_No 'td' rows are available._{report-empty}

{report-table}

Hope that helps!

comments: author: Gabriel Sejournant
body: It's better, but i have the message of empty fileds but I know that on my three children pages I have scaffold data with values that match with the data report.

I just added 2 {report-column} to your code, is their something else to do I forgot ?

{report-table}

{expanding-reporter:data:td\|as=td}

{local-reporter:page:children}

{text-sort:page:title}

{local-reporter}

{expanding-reporter}

{report-column:title=First}{report-info:expanded:td \> data:Nb1}{report-column}

{report-column:title=Second}{report-info:expanded:td \> data:Nb2}{report-column}

{report-empty}_No 'td' rows are available._{report-empty}{report-column}

{report-table}


Tags: confluence-app

report

report-info-macro

scaffolding
Content publishing between 2 Confluence hosting
Asked by Nicolas Coppens:

Hello,

we have 2 Confluence space, and we have installed the content publishing plugin who allow you to publish a space on an other

someone ( who doesn't work anymore at our company ) before me make a publish between the 2 confluence, i try to found how to, but i didn't found, can you help me please ???


Answers:
author: Sergey Svishchev
body: They could have simply exported the space to XML and imported it to another instance.
Creating an outline & page view/loading question (Confluence ver.3.1)
Asked by Amber McCarty:

I have two questions which I hope someone might be able to help with.

1) I am trying to create an outline for a {roundrect}, but cannot figure out the code order for creating this. I feel silly asking such a simle question, but.... The code below shows two {roundrect} but with background color. Instead I do not want a background color, but rather an outline of that color.

{section}  
{column:width=10%}  
\[!Mktg - HOME (Black).jpg\|width=173,height=55!\|MRKT:Marketing - Home\]  
\[!Mktg - Meet_the_Team (Black).jpg\|width=173,height=55!\|MRKT:Meet the Team\]  
\[!Mktg - Product_Releases (Black).jpg\|width=173,height=55!\|MRKT:Product Releases\]  
\[!Mktg - Product_Mktg (Black).jpg\|width=173,height=55!\|MRKT:Product Marketing\]  
\[!Mktg - Brand_Style_Guide (black).JPG\|width=173,height=55!\|MRKT:tRP Style Guide\]  
\[!Mktg - Events (Black).jpg\|width=173,height=55!\|MRKT:Events\]  
\[!Mktg - Communication (Black).jpg\|width=173,height=55!\|MRKT:Communication\]  
\[!Mktg - Reporting (Black).jpg\|width=173,height=55!\|MRKT:Reporting\]  
\[!Mktg - WIP and Drafts (Red).jpg\|\|width=173,height=55!\|MRKT:Work-In-Progress \& Drafts\]  
\[!Mktg - Product_Engineering_Portal (Black).jpg\|width=173,height=55!\|http://product.rubiconproject.com/\]  
\[!Mktg - Sales_Portal (Black).jpg\|width=173,height=55!\|SOP:Sales Portal - Home\]  
\[!Mktg - Archive (Black).jpg\|width=173,height=55!\|MRKT:Marketing Archive\]  
\[!Mktg - Tools_Training_Resources (Black).jpg\|width=173,height=55!\|MRKT:Tools, Training, and Resources\]  
\[!Tell_Us_What_You_Think (red scroll).jpg\|width=177,height=65!\|MRKT:Internal Marketing Surveys\]  
{column}  
{column:width=45%}  
{roundrect:bgcolor=#DFDFDF}h4. {color:#990000}Drafts (for review){color}  
h5. Select a document to review and provide feedback.  
\* \[Test\|MRKT:Test Page\]  
{roundrect}  
\\\\  
\\\\  
{column}  
{column:width=45%}  
{roundrect:bgcolor=#DFDFDF}h4. {color:#990000}Drafts{color}  
\* \[Test\|MRKT:Test Page\]  
{roundrect}  
\\\\  
\\\\  
{center}{contributors-summary}{center}  
{column}  
{section}

2. My second question is why a page loads/displays in the middle or bottom of a page uponj clicking a link rather than defaulting to top of the page or above-the-fold? Nothing major, but rather, just annoying. Any tips are appreciated.

Amber


Answers:
author: Kevin Buchs
body: Amber,

1. Having just an outline does not seem to be in the works for {roundrect}. You might check out {panel} where you can control the outline color.

2. It seems to be related to browser implementation. See [this issue](/questions/15208/when-i-insert-a-text-in-the-editor-it-always-jumps-so-annoying) for more discussion. Which browser/version are you using? It seems to be a good idea to raise a support request on these problems.
What is the idea for configuring mail in a space.
Asked by Nariman Riahi:

I just can not understand the idea of who it can be useful in context of what a wiki is used for in Software development env.

I search for the "useage" behind it and can not find anything. just setup instructions. I need to know, what is it good for?

I hope someone out there can shed some light on it.

Thanks


Answers:
author: Laura Kolker
body: Also some organizations operate heavily with emails lists. So, if your org does alot of its important brainstorming, decision making, or announcements, etc through a list service, then hooking that list into a confluence space is an easy way to archive the content.


author: Bob Swift (personal)
body: The idea is that you have a space that contains all the information for a specific project. Sometimes people use email instead of adding content, perhaps because they are external users without access to create content. By configuring a mail account, anyone can copy that project specific mail account for any external email so that it is searchable with the other content.
Setting image title and alt text in Confluence 4 WYSIWYG editor
Asked by Alan Bowman:

When I insert an image into a document in Confluence 4 using the WYSIWYG editor: ***Insert*** \> ***Image*** \> ***Browse***, I don't see a way to edit the image title or ALT text. All that shows up is the actual image file name. Generally, the file names of my images, their titles, and the ALT text are three different things. Due to the naming conventions we use, the actual file name would be fairly nonsensical to our customers, which I why I want to be able to change it in the editor to the actual image title/ALT text I want to use.

This is especially apparent when I reduce the size of the image, so that clicking on it brings up the full size image. The title of the image shown is the file name, which will be something like "ssh_cnnct_term.png", instead of what I want, which would be something like "This is what your command prompt will look like when connected to the server via SSH", and an ALT text of something like "SSH Connection prompt".

It looks like I can do this using Wiki markup, but shouldn't this same fuctionality be available in the WYSIWYG editor? Am I missing something that allows me to do this?


Answers:
author: Laura Kolker
body: That's a really good question. I'm not seeing a way to use the image edit options for that. Until someone from Atlassian pipes up about that, the workaround I came up with was to use Insert -\> Wiki Markup and add the additional properties the old way. I tested it out and the markup transformation works fine for Alt and Title props:

```
!test.jpg|alt="Test Alt Text",title="Test Title Text"!
```

comments: author: Alan Bowman
body: Laura,

Thanks. I'll use this for now, and hopefully Atlassian will add this feature to the WYSIWYG editor. While it's not the answer I was hoping for, this is the best answer for now.


author: BillA
body: Sorry we didn't document this better! You are correct that it's not possible to do this in the WYSIWYG editor now but, as Laura states, it is still possible to do through the "Insert wiki markup" dialog. I've created an issue where you can vote, add your comments and we can gaugue demand for doing this in the editor. <https://jira.atlassian.com/browse/CONF-23547>

We'll also update our documentation to make sure customers upgrading to 4.0 are aware of this. Again, apologies for not making this clearer sooner.

comments: author: Alan Bowman
body: Bill,

I just voted on the issue. Since Confluence seems to be moving more toward the WYSIWYG editor, and away from using wiki markup, this should indeed be a feature that is available, regardless of the demand.


author: Valerie Liberty
body: Hey there, Bill, was this topic merged into a more recent answer? I'm trying to add titles or a bit of text to each of the pictures in a Gallery I created on a Confluence page. Perhaps my wording is incorrect to find that info?


Tags: image

wysiwyg
Confluence Alternative with Markup Support
Asked by xkey:

The biggest reason I liked confluence over Jive Software is use of markup. With 4.0 discontinue support of markup, is there an alternative to confluence?

The purpose is to provide an easy collaboration, knowledge management platform for a group savvy technical folks. Also look for features like reporting/easy table like confluence used to support in 3.5 or lower?

thanks,


Answers:
author: AM
body: Please check:  

[https://answers.atlassian.com/questions/21735/occupy-confluence-markup-provide-a-wysiwyg-xhtml-markup-editor-to-edit-the-markup-source-of-confluence-4-wiki-pages](/questions/21735/occupy-confluence-markup-provide-a-wysiwyg-xhtml-markup-editor-to-edit-the-markup-source-of-confluence-4-wiki-pages)  

A-M


author: BillA
body: We hope you give Confluence 4.0 a chance! Confluence 4.0 still lets you insert wiki markup with things like [autoformatting](http://confluence.atlassian.com/display/DOC/Confluence+4.0+Release+Notes#Confluence40ReleaseNotes-FasterEditingExperience) and the "insert wiki markup" dialog. If you want to view the markup in Confluence 4.0, you might check out the new [Confluence Wiki Markup Styler](https://plugins.atlassian.com/plugin/details/606145) plugin. Otherwise [wikimatrix.org](http://wikimatrix.org) lists lots of wikis.

comments: author: xkey
body: Thanks for response. I can see it is not an easy decision for atlassian to make this change. However, it's a sign that simple wiki mark up is no longer the mainstream for confluence. I suspect that more customization make it easier for casual users, but may not be flexible for quick dirty use.

I'll leave the question unaswered for a few more days to see if we can get any other responses. Thanks for pointer to wikimatrix.


Tags: markup
Confluence 3.5.13 LDAP Migration from Confluence 3.4.9
Asked by V:

In confluence 3.4.9, we use atlassian-user.xml for LDAP configuration. We upgraded our test instance to 3.5.13 and copied the atlassian-user.xm from old Confluence installation to new Confluence installation.

After upgrade, there is a directory named "Upgraded atlassian-user LDAP (ldapRepository)" under "User Directories" in confluence. There is no option to edit this directory from confluence UI.

I can see all LDAP groups under "Manage Groups", but there is no user group membership. I get "No users found" when i select the group in confluence.

Is there any other configuration which need to be done?


Answers:
author: AlexH
body: Vikas, you can't edit the User Directory that you're currently logged in with. If you don't already have one, create a new "confluence_admin" user in the internal confluence user directory -- don't forget to assign admin permissions -- and then login as that user; now you should be able to tweak the "upgraded atlassian-user..." user directory.

If you use local groups in Confluence you'll have to rebuild your groups because the user directory does not contain your group membership information, those groups are left behind in the "internal directory". You may wish to take this as an opportunity to evaluate the pros/cons of moving your groups into LDAP rather than managing them locally in Confluence.

However, I suggest creating a whole new "\<myldap_name\> Directory" because the migrated version doesn't always make the best choices for some of the settings.

Disable the existing "upgraded..." user directory and then create your new user directory. Once the sync is complete you can begin repopulating groups, either locally or in LDAP.

This topic is related and may be worth a read: [https://answers.atlassian.com/questions/15329/jira-4-3-ldap-migration-from-jira-4-1-1](/questions/15329/jira-4-3-ldap-migration-from-jira-4-1-1)

As always perform these changes in a test environment first!

comments: author: William Schneider
body: Though probably a best practice not to edit the directory you are logged in as, you can still edit the directory you are logged in under if you know the URL to use. On the /plugins/servlet/embedded-crowd/directories/list page, find the "synchronize" link for the LDAP repo and copy the xsrfTokenValue key and directoryId , and substitute them into the URL below:

http://example.confluence.com/plugins/servlet/embedded-crowd/configure/ldap/?xsrfTokenName=atl_token\&xsrfTokenValue=\<VALUE FROM FORM\>\&directoryId=\<VALUE FROM FORM\>

Again, probably not best practices, but I've done it several times without issue. Best of luck!
Is Confluence 3.4.9 compatible with JIRA 4.4
Asked by sdtoop:

We are about to upgrade to JIRA 4.4, but we have seen it is linked with Confluence 3.4.9.

Can I upgrade JIRA now and upgrade Confluence later?

Or are both products tied to specific releases?

Thanks


Answers:
author: SherryX
body: If your jira is pre-4.3 version and confluence use jira for user management, then you can't upgrade jira until you have first upgrade confluence to 3.5, otherwise your confluence users will no longer be able to login until you upgrade to confluence 3.5


author: vchoy
body: Hi Sdt,

You can upgrade to Jira 4.4 first...it should still work for trusted and oauth Apps.

Both products are not tied to specific releases.

Just for added information: You can use [Applinks](http://confluence.atlassian.com/display/APPLINKS/Application+Links+Version+Matrix) when you upgrade to Confluence 3.5 and above


Tags: jira