It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I create a blog button?

I would like to create a blog button on a page.

Also, I don't how to use the components on the following website: https://docs.atlassian.com/aui/latest/docs/buttons.html

Where I can enter the html code???

Best regards

Fiyyaz

3 answers

For Confluence users on cloud who cannot add custom macros, I have found a workaround. 

If you use the "Blog Posts" macro with a query that returns no blog posts, Confuence will display generic copy and a "Create blog post"  button that allows the user to create a new blog post.

 

To create a query that returns no blog post, you can restrict the blog posts to a label that exists (if you make up a label that no other page uses, you'll get an error) but is not used on any blog post entry.

 

lendesk create blog post button.png

Thank you, Laure.  This is a useful workaround!

This no longer seems to work :(

Is there anyway to create the Blog Post button for Confluence Cloud?

Hi Fiyyaz - you haven't said which product this relates to, so it's difficult for people to help you. 

Are you asking about Confluence or JIRA or something else?

Where exactly do you want to put the button to show?

What do you want to happen when people click it?

Hi Sam, 

 

I am using Confluence.  I would like to put the button on the Confluence pages. The button should create a new blog post. 

I don't want to click always on "create" on the menue bar.  Is there any solution for this problem?

 

Best regard

Fiyyaz 

It you have Confluence server, you could create a user macro for this.

Then you can add your macro to any page you want.

This is a what you can put in the 'template' field when creating the macro:

## @param space:title=Space|type=spacekey
<a href="/pages/createblogpost.action?spaceKey=$paramspace" class="aui-button"><span>Create Blog Post</span></a>

 Adapted from: https://community.atlassian.com/t5/Confluence-questions/How-do-I-add-a-Create-Blog-button-to-a-page/qaq-p/148683

Hi Sam,

 

thanks a lot. It works :)

 

Best regards

Fiyyaz

Current version that works for me with Confluence Server 7.0.1 is:

## @param space:title=Space|type=spacekey
<a href="/pages/createblogpost.action?spaceKey=$space.key" class="aui-button"><span>Create Blog Post</span></a>

thanks a lot. It works :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you