Hi there
All users must be set as watchers for specific corporate spaces. Is there a easy way. We know a workaround, but there is a little problem: Set an fictitious user with a group-mail-account (mailing list). Each time somebody changes something in that space, everybody get informed through the mailing list. Now, the problem is: People could add themselves as a watcher, too. As a result, they get notifications twice. Can we prevent users to watch specific spaces or is there any other solution?
Thanks for helping us,
Yanick
HI,
What you could do in that case is hide the watch button since you are already assigning everyone to watch it through that mail group. This could be done through CSS or Jquery for specific spaces.
To hide the button in just defined spaces you could add something like this to the Custom HTML in Confluence Admin.
<script type="text/javascript"> AJS.toInit(function(){ var keys = ["DEV","BLAH","STUFF"]; //Add space keys to hide the watch button here if(keys.indexOf(AJS.params.spaceKey) !== -1) { AJS.$('#watch-content-button').css('display','none'); } }); </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex
Thanks you so much. Do you know how to hide the button in that specific space? When I hide the button in the Custom HTML I am going to hide it in every space. That is not the goal.
Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Add that CSS to the style sheet within the specific space if you want it to only apply to a one space. If you go to the admin section of the space, you will see a stylesheet panel under look and feel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex
Thanks a lot. I already thought about that, but how to hide the watch button of that specific space. I do not get an identifier (unique class or id) in css. Any idea?
Thanks again,
Yanick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am on confluence 5.9 and can hide it with jquery using $("#watch-content-button").hide();
To use css just do #watch-content-button{display:none}
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.