By Robgunner on Sunday, 17 September 2017
Posted in General
Replies 7
Likes 0
Views 378
Votes 0
Hi
does anyone know how to hide the browse users on the right hand side menu please, in easysocial 1.? you could do this via the theme menu but that seems to have gone just edit the files css etc, I take it I can hide via code

kind regards
Rob
Hey Rob,

You could actually edit the file /components/com_easysocial/themes/wireframe/toolbar/default.php and remove the codes at line 538,

[gist]
<li class="<?php echo $view == 'users' ? 'is-active' : '';?>">
<a href="<?php echo ESR::users();?>" class="es-navbar__footer-link">
<i class="fa fa-users"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PEOPLE');?>
</span>
</a>
</li>
[/gist]
·
Sunday, 17 September 2017 15:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Thank You for your reply and have a great day

Kind Regards
Rob
·
Sunday, 17 September 2017 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Rob
·
Sunday, 17 September 2017 16:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

I just removed that line and still their, I have attached screenshot of menu entity I want to hide.

Kind Regards
Rob
·
Sunday, 17 September 2017 22:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, are you using the elegant theme? You can remove the codes below in /components/com_easysocial/themes/elegant/toolbar/default.php

[gist]
<?php if ($this->config->get('general.layout.toolbarbrowse')) { ?>
<div>
<a href="<?php echo ESR::users();?>">
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_BROWSE_USERS');?>
</a>
</div>
<?php } ?>
[/gist]
·
Sunday, 17 September 2017 23:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

That worked thank you

Kind Regards
Rob
·
Monday, 18 September 2017 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Rob
·
Monday, 18 September 2017 00:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post