By T.W. van Urk on Friday, 19 October 2018
Posted in Technical Issues
Likes 0
Views 582
Votes 0
Hi there,

I want to do some customizing at my toolbar. Because I have already a subscribe module in the right sidebar, I want to disable the subscribe button in the toolbar (1). However this is not possible in the backend toolbar options !?

The search button icon is very small (2). It is hard for users to find it. Can I replace that single icon with the icon + text (3) from the lower search bar. In that case, the visibility would be a little better !?

In earlier versions of Easyblog, there was a seach field always visible inside the toolbar!! For me, that would be the most preferable option, but I wander that is still possible !?

Kind regards, T.W. van Urk
Hi there,

I want to do some customizing at my toolbar. Because I have already a subscribe module in the right sidebar, I want to disable the subscribe button in the toolbar (1). However this is not possible in the backend toolbar options !?

You can remove them here .../components/com_easyblog/themes/wireframe/toolbar/default.php

[gist type="php"]
<?php if ($this->config->get('main_sitesubscription') && $this->acl->get('allow_subscription')) { ?>
<div class="o-nav__item <?php echo $subscription->id ? 'hide' : ''; ?>"
data-blog-subscribe
data-type="site"
data-original-title="<?php echo JText::_('COM_EASYBLOG_SUBSCRIPTION_SUBSCRIBE_TO_SITE');?>"
data-placement="top"
data-eb-provide="tooltip"
>
<a class="o-nav__link eb-toolbar__link" href="javascript:void(0);">
<i class="fa fa-envelope"></i>
<span class="eb-toolbar__link-text"><?php echo JText::_('COM_EASYBLOG_SUBSCRIPTION_SUBSCRIBE_TO_SITE');?></span>
</a>
</div>
<div class="o-nav__item <?php echo $subscription->id ? '' : 'hide'; ?>"
data-blog-unsubscribe
data-subscription-id="<?php echo $subscription->id;?>"
data-return="<?php echo base64_encode(EBFactory::getURI(true));?>"
data-original-title="<?php echo JText::_('COM_EASYBLOG_SUBSCRIPTION_UNSUBSCRIBE_TO_SITE');?>"
data-placement="top"
data-eb-provide="tooltip"
>
<a class="o-nav__link eb-toolbar__link" href="javascript:void(0);">
<i class="fa fa-envelope"></i>
<span class="eb-toolbar__link-text"><?php echo JText::_('COM_EASYBLOG_SUBSCRIPTION_UNSUBSCRIBE_TO_SITE');?></span>
</a>
</div>
<?php } ?>
[/gist]


The search button icon is very small (2). It is hard for users to find it. Can I replace that single icon with the icon + text (3) from the lower search bar. In that case, the visibility would be a little better !?

You can customize them at this path .../components/com_easyblog/themes/wireframe/toolbar/default.php on codes below.

[gist type="php"]
<?php if ($this->config->get('layout_search')) { ?>
<div class="o-nav__item"
data-original-title="<?php echo JText::_('COM_EASYBLOG_TOOLBAR_SEARCH');?>"
data-placement="top"
data-eb-provide="tooltip"
>
<a href="javascript:void(0);" class="o-nav__link eb-toolbar__link" data-eb-toolbar-search><i class="fa fa-search"></i></a>
</div>
<?php } ?>
[/gist]


In earlier versions of Easyblog, there was a seach field always visible inside the toolbar!! For me, that would be the most preferable option, but I wander that is still possible !?

It is not possible to achieve this currently as we have done some major changes on the toolbar itself. Thanks for your understanding.
·
Friday, 19 October 2018 10:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Thank you for your extensively answer. Unfortunally, I am unfamiliar with PHP and Javascript .
In the second example for replacing the search icon/button, I am just looking for a code to replace the code for icon 2 (see bitmap) with icon 3,shown in the lower search bar.

This must not be very difficult.. But - I am sorry - I don't know how to do that . I guess I have to replace 'fa fa-search" with something !??


Kind regards, T.W. van Urk
·
Friday, 19 October 2018 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You can include codes below and see how it goes.

[gist type="php"]
<a href="javascript:void(0);" class="o-nav__link eb-toolbar__link" data-eb-toolbar-search><i class="fa fa-search"></i>Zoek</a>
[/gist]
·
Friday, 19 October 2018 21:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi thks for these tips.
·
Friday, 19 October 2018 21:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Warith,

It works very well.

Thank you !!

Kind regards, T.W. van Urk
·
Friday, 19 October 2018 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Saturday, 20 October 2018 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post