How to disable comments in DLE everywhere except the blog?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
24 views
How to disable comments in DLE everywhere except the blog?
by | 24 views

1 Answer

0 like 0 dislike
In fullstory.tpl comments are displayed using a tag {comments} . You need to wrap it in [not-catlist=id of the category] . For example, if you don't want the comments form to be displayed in the category id 5 it should be so

[not-catlist=5]{comments}[/not-catlist]
You can also specify multiple categories separated by commas

[not-catlist=5,6,7,8]{comments}[/not-catlist]
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users