By fengwei on Tuesday, 19 June 2018
Posted in General
Likes 0
Views 433
Votes 0
Hi,I have a bold idea that I hope will come true to him,Just as the module mod_easydiscuss_recentdiscussions can specify the display categories, how can I modify the code in modules/mod_easydiscuss_categories
You can try modify this file -> JoomlaFolder/modules/mod_easydiscuss_categories/helper.php

[gist type="php"]
// 14, 11 is category parent id
$options['categoryIds'] = array('14','11');

[/gist]
·
Tuesday, 19 June 2018 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much. It's a perfect solution
·
Tuesday, 19 June 2018 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Tuesday, 19 June 2018 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I found another problem,Other classes specified by this module on my other module location cannot be the same

How do I add this module 2
·
Tuesday, 19 June 2018 17:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post