By Paul Murray on Monday, 06 March 2017
Posted in General
Likes 0
Views 141
Votes 0
Hi SI Team

http://www.finalbug.net

I am trying to figure out how to remove items from the toolbar menu.
Please see screen shot.
I want to remove Points & Conversations!

thanks

Paul
You can modify on this file.

JoomlaFolder/components/com_easysocial/themes/elegant/toolbar/default.php

[gist type="php"]
<?php if ($this->config->get('points.enabled') && $this->my->id){ ?>
<div>
<a href="<?php echo ESR::points(array('layout' => 'history' , 'userid' => $this->my->getAlias()));?>">
<i class="fa fa-dot-circle-o"></i>
<b>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_POINTS_HISTORY');?>
</b>
</a>
</div>
<?php } ?>

<?php if ($this->config->get('conversations.enabled') && $this->my->id){ ?>
<div>
<a href="<?php echo ESR::conversations();?>">
<i class="fa fa-comments"></i>
<b>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_PROFILE_CONVERSATIONS');?>
</b>
</a>
</div>
<?php } ?>
[/gist]
·
Monday, 06 March 2017 23:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, Hi SI Team

I could do with some help with this.
I believe that I removed the code outlined above but still no change.
I will include FTP details above so tha some one could take a quick look at this.
Also tried two browser, clearing cache etc...

By the way was there not some where to set the symbols that you see whilst logged in/not logged in?
Maybe this is part of my confusion.

thanks

Paul
·
Tuesday, 07 March 2017 14:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,
It seems those 2 options are already removed from the toolbar(http://take.ms/ZLTjL). Am I missing something here?
Once you modified the file, it will apply to both logged in and non-logged in view.
·
Tuesday, 07 March 2017 16:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond
That is weird because i see two different things depending on whether I am logged in or not.
It is very possible that I messed something up or that I am attempting to modify an already modified file...
Please see the screen shots
best
Paul
·
Tuesday, 07 March 2017 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond
That is weird because i see two different things depending on whether I am logged in or not.
It is very possible that I messed something up or that I am attempting to modify an already modified file...
Please see the screen shots
best
Paul
·
Tuesday, 07 March 2017 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Paul,
It seems you have already have a template override file in JoomlaFolder/templates/elegant/html/com_easysocial/toolbar/default.php
Because of this, you need to edit the file from that directory instead. The file in the theme folder will be ignored, which you also have to take note as newer version releases, you also have to manually update your template override file.
I have helped you do this so both those options should not be showing now.
Double check and let us know how it goes.
·
Tuesday, 07 March 2017 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Raymond

Yeah I thought it was something like that.

thanks as always

all the best

Paul
·
Wednesday, 08 March 2017 15:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Paul,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 08 March 2017 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post