Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Custom Toolbar Links

Michael Martin · ·
1:15 AM Thursday, 12 April 2018
None
If you are like me and want to have direct links to Easy Blog and Easy Discuss on your Easy Social Toolbar I have the perfect solution for everyone! The following code should work perfectly for any website.

Code for Easy Social

<!-- BEGIN CUSTOM TOOLBAR -->

<li class="<?php echo $active == 'forums' ? ' is-active' : '';?>">
<a href="/<?php echo EDR::_('index.php?option=com_easydiscuss');?>" class="es-navbar__footer-link">
<span><?php echo JText::_('Forums');?></span>
</a>
</li>

<li class="<?php echo ($views->latest) ? 'is-active' : ''; ?>">
<a href="/<?php echo EBR::_('index.php?option=com_easyblog');?>" class="es-navbar__footer-link">
<span><?php echo JText::_('Blog');?></span>
</a>
</li>

<!-- END CUSTOM TOOLBAR -->


Code for Easy Blog


<!-- BEGIN CUSTOM TOOLBAR -->
<li class="<?php echo $highlight == 'Forums' ? 'is-active' : '';?>">
<a data-original-title="Forums"
data-placement="top"
data-es-provide="tooltip"
href="/forums" class="o-nav__link eb-toolbar__link">
<span>

<?php echo JText::_('Forums');?>

</span>
</a>
</li>
<li class="<?php echo $highlight == 'Community' ? 'is-active' : '';?>">
<a data-original-title="Community"
data-placement="top"
data-es-provide="tooltip"
href="/component/easysocial/?view=dashboard" class="o-nav__link eb-toolbar__link">
<span>

<?php echo JText::_('Community');?>

</span>
</a>
</li>
<!-- END CUSTOM TOOLBAR -->



Code for Easy Discuss

<!-- BEGIN CUSTOM TOOLBAR -->

<li class="<?php echo ($views->latest) ? 'is-active' : ''; ?>">
<a href="/<?php echo EBR::_('index.php?option=com_easyblog');?>" class="ed-navbar__footer-link">
<span><?php echo JText::_('Blog');?></span>
</a>
</li>

<li class="<?php echo ($views->community) ? 'is-active' : '';?>">
<a href="/<?php echo ESR::_('index.php?option=com_easysocial');?>" class="ed-navbar__footer-link">
<span><?php echo JText::_('Community');?></span>
</a>
</li>

<!-- END CUSTOM TOOLBAR -->


You have to change the default.php template file each component respectively:

Easy Social: /components/com_easysocial/themes/wireframe/toolbar/default.php
Easy Blog: /components/com_easyblog/themes/wireframe/toolbar/default.php
Easy Blog: /components/com_easydiscuss/themes/wireframe/toolbar/default.php

I hope that others find this useful.

Have a get day.
0 Replies
The replies under this section are restricted to logged in users or users with an active subscription with us