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
Code for Easy Blog
Code for Easy Discuss
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.
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.