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:
After this block for audios:
However I cannot get this to work in the docker toolbar. I have copied the audios block which I am trying to adapt:
What do I need to change in this code to get it to open my forums page?
Kind regards
Melanie
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