By Pawan on Tuesday, 04 March 2014
Posted in Technical Issues
Replies 1
Likes 0
Views 1K
Votes 0
I have two sets of users in my joomla site: (i) Lawyers and (ii) Non-Lawyers.
Accordingly I have created two Roles in Easydiscuss, named (i) Lawyers and (ii) Non-Lawyers.

I want to show the 'Unanswered' Tab on frontpage to 'Lawyers' only and not to 'Non-Lawyers'.

Could you please give me a simple if-then php statement code for this, I will use that and my purpose will be served.

Thanks.
Hello Pawan,

Please replace the attached file ( frontpage.index.filters.php ) in ../components/com_easydiscuss/themes/simplistic/frontpage.index.filters.php. Replace the '8' in line 59 to your 'Non-Lawyers' usergroup id. Hope this helps.
·
Tuesday, 04 March 2014 15:53
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post