Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Disable subscription option in Team Calendars

Lena January 8, 2024

Hi all,

We would like to deactivate the whole "subscribe" option in Team Calendars globally for our company.
Is this possible and if so, how can we deactivate the function?

Thanks a lot!

Lena

1 answer

0 votes
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 8, 2024

Hey @Lena,

You can hide this Subscribe option from calendar menu using CSS:

Screenshot 2024-01-08 at 19.43.01.png

Go to Confluence Admin > Custom HTML and insert the code in the "At end of the HEAD" textbox:

<style type="text/css">
li:has(> .subcalendar-subscribe) {
display: none;
}
</style>
Lena January 15, 2024

Thank you for your quick response @Kseniia Trushnikova! We tried  the way you suggested but it didn't work. The subscribe option is still visible. Are there any other ways? (We have Confluence Data Center 7.19.17

Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 16, 2024

@Lena, oh sorry. I tested this CSS on our Confluence Server 8.5.x... Looks like the class for the Subscribe option might be named different in older Confluence versions.

You can find the class by right-clicking the Subscribe option and select Inspect. If the class is different, replace it in the code I sent you earlier:

Screenshot 2024-01-16 at 11.11.43.png

You can also try this:

<style type="text/css">
li:has(> .subcalendar-subscribe) {
display: none !important;
}
</style>

OR

<style type="text/css">
.subcalendar-subscribe {
display: none !important;
}
</style>
Like Admin _RKI likes this
Lars
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 4, 2024

Hi @Kseniia Trushnikova ,

there is also a button to subribe a calendar left from "Add event" button. How we can hide this subscribe-button too?

Kind regards

Lars

Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 4, 2024

Hello @Lars Zacharias _RKI_,

This CSS will hide the Subscribe button:

<style type="text/css">
.subscribe-calendar-button {
display: none !important;
}
</style>
Like Admin _RKI likes this
Admin _RKI April 4, 2024

Thanks a lot! It works fine. I combine it with the CSS change above.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events