UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online
None
Hi,

I want to call eaqsydiscuss from the easysocial toolbar and docker menu links. I have managed to add the toolbar link via the default.php file in components/easysocial/themes/wireframe/toolbar by adding the following code:


<?php } ?>
<?php
require_once(JPATH_ADMINISTRATOR . '/components/com_easydiscuss/includes/router.php');
?>
<?php if ($this->config->get('audio.enabled')) { ?>
<div class="o-nav__item <?php echo $highlight == 'forums' ? 'is-active' : '';?>">
<a href="/<?php echo EDR::_('view=forums');?>" class="o-nav__link es-toolbar__link">
<i class="fa fa-music t-sm-visible"></i>
<span>
<?php echo JText::_('Forums'); ?>
</span>
</a>
</div>


After this block for audios:


<?php } ?>

<?php if ($this->config->get('audio.enabled')) { ?>
<div class="o-nav__item <?php echo $highlight == 'audios' ? 'is-active' : '';?>">
<a href="/<?php echo ESR::audios();?>" class="o-nav__link es-toolbar__link">
<i class="fa fa-music t-sm-visible"></i>
<span>
<?php echo JText::_('COM_EASYSOCIAL_TOOLBAR_AUDIOS'); ?>
</span>
</a>
</div>


However I cannot get this to work in the docker toolbar. I have copied the audios block which I am trying to adapt:


<?php } ?>

<?php if ($this->config->get('audio.enabled')) { ?>
<li>
<a href="/<?php echo ESR::audios();?>">
<i class="fa fa-music"></i>
<span><?php echo JText::_('COM_ES_AUDIOS');?></span>
</a>
</li>


What do I need to change in this code to get it to open my forums page?

Kind regards

Melanie
The replies under this section are restricted to logged in users or users with an active subscription with us