Disable blog item when creating a new space

Is there a way to disable the link to blog items when creating new spaces?

3 answers

1 accepted

By creating a new space with the global look and feel, the new space will get a link to a blog overview right under 'Pages'. This item should be removed, since we use another tool for blogging in our company.

image2015-1-9 8:41:33.png

Do not know the "official way", but some custom JS will do the trick: AJS.$('li[data-collector-key="spacebar-blogs"]').hide(); :) Needs to be added either as custom HTML snippet or inside the Confluence site layout

Hi! Thanks for this hint, but this would apply to all spaces. We only need a solution for new spaces as old spaces should be able to view their old blog posts.

I see 2 options (to solve the issue): - Have a custom space templates set to your old spaces - To modify page layout and implement a date check for space creation - getCreationDate for Space object (as the https://docs.atlassian.com/atlassian-confluence/latest/index.html?com/atlassian/confluence/spaces/SpaceManager.html is available in the Page layout and could be referenced) and depending on a space's date created have this JavaScript set. Very hacky... and probably there is a better way:)

Are you trying to remove the link to "blogs" on a sidebar, just under the link to "pages"?

Iknow this is an old post but in case anyone wants a solution, click the configure side bar and then on the x next to the blog post link. That should hide it. It is a per space change however.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

830 views 23 12
Join discussion

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