By Edgar on Wednesday, 02 September 2015
Posted in General Issues
Replies 3
Likes 0
Views 500
Votes 0
Hello,

I have some administrators who are not Superusers and I want they don't have access to the update button. How can I hide it in backend ?

Thanks a lot,

Edgar
hey Edger,

You can modify the code here JoomlaFolder\administrator\components\com_easysocial\themes\default\structure\sidebar.php

// LINE 55 until 57
<div class="side-widget-rounded version-widget">
<div class="side-wbody fd-small" style="display: none;" data-easysocial-version></div>
</div>
·
Wednesday, 02 September 2015 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks you very much, it's perfect
One more last question :
If I want to remove the red word "Obsolete", how can I do ? Or at least that only Superuser can see it ?

Thanks a lot,

Edgar
·
Friday, 04 September 2015 07:17
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome

Perhaps you can check only Super user group can see that Easysocial version from backend dashboard.

This file -> JoomlaFolder\administrator\components\com_easysocial\themes\default\structure\header.php

// check the current logged in user
$user = JFactory::getUser();
$group = $user->groups;
$gr = array_values($group);
// check the current logged in user group
$gid = array_shift($gr);


Hope this help.
·
Friday, 04 September 2015 11:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post