Category Archives: Confluence Development

Tips in Confluence development

Sibling Tabs User Macro for Atlassian Confluence

The sibling tabs user macro for Confluence gives a simple way to create a horizontal tabbed navigation system between sibling pages in a Confluence space.

Here’s a video demo:

Here’s the code and how to apply it to your Confluence system:

In Confluence Admin | User Macros, create a new user macro and paste in:

Simply add the Sibling Tabs user macro whenever you want horizontal tabs — don’t forget to att the macro to each of the pages ūüėČ

 


The AppFusions team provides tough-problem expert-level product development and consulting services. Our portfolio of solutions is a prime example of our expertise, aside from much other community involvement. Nonetheless, we are only at the beginning of our journey.

Please reach out any time. We know we can help you – it is our relentless obsession and passion!

Gister for Confluence ‚Äď Effortlessly embed gists into Atlassian Confluence

Announcing Gister for Confluence, a new Confluence add-on that does just one thing. Effortlessly.

Gist is a simple way to share snippets and pastes with others. All gists are Git repositories, so they are automatically versioned, forkable and usable from Git.

Got a gist on Github?

Want to embed it in Confluence?

Paste the gist URL into the Confluence editor and your gist will automatically be embedded using the Gist macro.

 

Here’s how it works:

What does it cost? Nothing at all. Have this one on me.

‚Üí Get Gister for Confluence for free

Works with Confluence 5.2 and up.

 


The AppFusions team provides tough-problem expert-level product development and consulting services. Our portfolio of solutions is a prime example of our expertise, aside from much other community involvement. Nonetheless, we are only at the beginning of our journey.

Please reach out any time. We know we can help you – it is our relentless obsession and passion!

How to disable the Popular tab on the dashboard page in Atlassian Confluence

Dalai Lama
..sprecken of “popular” .. Dalai Lama

 

The Popular tab on the dashboard of Atlassian Confluence displays:

  • Pages, blog posts and comments that people have recently liked.
  • Pages and blog posts that people have recently commented on, and threaded comments that people have recently replied to.
  • Pages and blog posts that have recently been created.

A fresh installation will display a helpful “Welcome, looks like you’re new here” section – as shown below.

Some companies do not want this functionality and want to know how it can be turned off.

It’s very easy to remove this functionality, as it is based on an add-on module that can simply be disabled.

Here’s how:

  • Browse to Confluence Admin | Atlassian Marketplace | Manage Add-ons
  • Filter for “dash” in “System” add-ons
  • Expand the Dashboard Macros add-on
  • Expand the 14 of 14 modules enabled link
  • Disable the Popular Tab (popular-tab) module

Having stepped through this process, the Popular tab will no longer be displayed. Simple.

 


The AppFusions team provides tough-problem expert-level product development and consulting services. Our portfolio of solutions is a prime example of our expertise, aside from much other community involvement.

Nonetheless, we are only at the beginning of our journey. Please reach out any time. We know we can help you Рit is our relentless obsession and passion!

How to move the Confluence “Create” button back to the pre-Confluence 5 location

The Good Old Days
Those were the good ol days..

Upon release of Confluence 5, I really couldn’t handle the new location for the “Create button”. ¬†A few months in, I’m happy and it now seems natural, but for users making the change, it can seem counter-intuitive.

Several clients have asked how to get the create button back to where “it should be”. This is a hack to do just that.

 

Browse to Confluence Admin | Look and Feel | Custom HTML | At the END of the BODY and paste the following:

 

Save and you’re back to the “good old days”:

 


The AppFusions team provides tough-problem expert-level product development and consulting services. Our portfolio of solutions is a prime example of our expertise, aside from much other community involvement. Nonetheless, we are only at the beginning of our journey.

Please reach out any time. We know we can help you – it is our relentless obsession and passion!

Searching Atlassian Confluence from an external website

Oliver Marshall asks:

We’re looking at using Confluence for an internal and external knowledgebase. A number of our suppliers use it, so we’re happy it does what we want.

However we want our customers to find common wiki entries via our website, where we send them for various bits of info at the moment.

Other KB/Wiki tools we’ve looked at provide a javascript widget we can include in the site which will give us a CSS’able search box and results. That works nicely.

At a push I’d take the ability to use an iFrame on our site pointing to a basic page with no Confluence navbars or headers (just the page and search bar).

Anyone got any comments or feedback at all on this? Our site is in WordPress if that helps.

This post offers a possible complete working solution for Oliver’s task using PHP.

Here’s a video demonstrating how:

Here’s the source code.

The code reuses the REST API for the quick search dropdown in the standard Confluence search field and as such only returns the first 6 results. You could of course change this to use a different REST API.

 


The AppFusions team provides tough-problem expert-level product development and consulting services. Our portfolio of solutions is a prime example of our expertise, aside from much other community involvement. Nonetheless, we are only at the beginning of our journey.

Please reach out any time. We know we can help you – it is our relentless obsession and passion!