Page 1 of 1

Globally disable comments

Posted: Mon Jul 24, 2017 4:30 am
by arfa
I see in 'Personal Settings' - Allow comments to this entry y/n
This works for posts after setting 'N' but still displays the comment div with all the content - except the form.

The FAQ suggests editing the templates/{THEME}/entries.tpl and it was not so difficult to find <div class="serendipity_comments" and set style="display:none";
Even so, for a package as well featured as s9y, this seems a bit primitive.

I did read several suggestions about blog ethos and the essence of user feedback but, for my current scenario, I prefer read-only - and I do like s9y. So, with a bit of code hacking, I have what I want but still wonder if there is - or could be in the future - a setting to emulate the display:none?

Re: Globally disable comments

Posted: Mon Jul 24, 2017 8:45 am
by yellowled
arfa wrote:So, with a bit of code hacking, I have what I want but still wonder if there is - or could be in the future - a setting to emulate the display:none?
If so, we would probably want to have the HTML for the comments and comment form not emitted at all instead of just hiding it in CSS. For that to be implemented, it would need to be added to and tested in all existing s9y themes.

Frankly, even if we had the manpower to do that in the dev team (which we don't), we probably would not consider this to be important enough because it still is a rarely requested feature. Most people want comments or are fine with the comment section still being displayed although comments are closed.

YL

Re: Globally disable comments

Posted: Mon Jul 24, 2017 10:17 pm
by arfa
Thanks for your considered reply.
I take your point with the many themes.

I am a happy camper :)
great work - thx

Re: Globally disable comments

Posted: Tue Jul 25, 2017 10:34 am
by zarzanola
Agreed, I don't think this is important enough to dedicate resources to it