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

1 answer

This widget could not be displayed.
Sam Hall Community Champion May 11, 2017

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

95 views 0 8
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you