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
Hey @Lena,
You can hide this Subscribe option from calendar menu using CSS:
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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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:
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Lars,
This CSS will hide the Subscribe button:
<style type="text/css">
.subscribe-calendar-button {
display: none !important;
}
</style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot! It works fine. I combine it with the CSS change above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.