How to disable comments in DLE everywhere except the blog?

0 like 0 dislike
12 views
How to disable comments in DLE everywhere except the blog?
by | 12 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,186 answers
0 comments
33,907 users