By HAZEL on Thursday, 01 February 2018
Posted in Technical Issues
Replies 5
Likes 0
Views 628
Votes 0
Hi,
In the EasyDiscuss module, it is impossible to exclude subcategories
Thank you for your help

Regards
Frank
Hey Hazel,

Are you referring to the text that says "0 subcategories" in the module? That option in the module is not for that particular text. By enabling the option "Exclude Subcategories", the module would not include subcategories.

If you want to remove that text, you may edit the file /modules/mod_easydiscusscategories/tmpl/tree_item.php and remove the codes below:

[gist]
<li data-breadcrumb="ยท"><?php echo ED::themes()->getNouns('MOD_DISCUSSIONSCATEGORIES_SUBCATEGORIES_COUNT', $category->totalSubcategories, true);?></li>
[/gist]
·
Thursday, 01 February 2018 20:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

the exclude subcategories option does not work.
I removed the indicated line of text
·
Thursday, 01 February 2018 22:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry but I don't get you. What is not working? That option is not to hide that line of text. That option is to not include subcategories in the categories module.
·
Friday, 02 February 2018 01:10
·
0 Likes
·
0 Votes
·
0 Comments
·
When I do not want to include subcategories, because I have none, the phrase "0 subcategories" appears anyway
·
Friday, 02 February 2018 17:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that is not configurable currently, we'll add a new settings for this in the next release
·
Friday, 02 February 2018 17:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post