By Leonardo Fiscina on Wednesday, 15 March 2017
Posted in General
Likes 0
Views 134
Votes 0
Hello, we have a suscription of EB but in the launch of ES we will not include (a lot of functions for a new usuer). How can we remove temporaly the icon and text "Blog" in the mobile menu?
Regards,

Leo.
You have to edit /templates/esmobile/index.php in line 150-157 you find this:


<?php if (Esmobile::easyblogExists()) { ?>
<div class="es-mobile-menu__item">
<a href="<?php echo EBR::_('index.php?option=com_easyblog' . EBR::getItemId('latest'));?>">
<i class="fa fa-file-text-o"></i>
<span><?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_BLOG');?></span>
</a>
</div>
<?php } ?>


You can remove the code or replace it by something like this:


<div class="es-mobile-menu__item">
<a href="URL WITH SLASH IN FRONT">
<i class="FONTAWESOME CODE"></i>
<span><?php echo JText::_('TITLE ON BUTTON');?></span>
</a>
</div>


URL WITH SLASH IN FRONT= Put your URL the button should go to. Let's say google.com/supercool is the link you need then put /supercool.

FONTAWESOME CODE= Pick and FontAwesome icon you like from here: http://fontawesome.io/icons/ and insert the code of the icon you see on the linked page after clicking the wanted icon.

TITLE ON BUTTON= This will appear on your site as the title of the button.
·
Wednesday, 15 March 2017 07:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Leonardo,

You should try steps prompted by Sabih there. Please give it a try and see how it goes

By the way, tahnks for the helps and information above Sabih
·
Wednesday, 15 March 2017 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Work perfect! Thanks Sabih and Abdul!!!
·
Wednesday, 15 March 2017 14:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

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, 15 March 2017 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post