Disable blog item when creating a new space

Jens Kasperek (Bosch GmbH) January 8, 2015

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

3 answers

1 accepted

0 votes
Answer accepted
Jens Kasperek (Bosch GmbH) January 8, 2015

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

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2015

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

Jens Kasperek (Bosch GmbH) January 12, 2015

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.

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2015

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:)

0 votes
Beiron John November 10, 2016

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.

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events