Sam wrote:
Hi Sean,
I am sorry for the delay of this reply. Try these code:
<li>
<a href="<?php echo FRoute::points();?>">
<i class="ies-health ies-small mr-5"></i><?php echo JText::_( 'Points' );?>
</a>
</li>
<li>
<a href="<?php echo FRoute::badges();?>">
<i class="ies-crown ies-small mr-5"></i><?php echo JText::_( 'Badges' );?>
</a>
</li>
Hope this help and have a nice day
Thanks for the reply Sam, but those didn't work. Results in my Dashboard getting a white screen.
For the Points and Badges list items for individual users, that code looks like this:
<?php if( $this->config->get( 'badges.enabled' ) ){ ?>
<li class="<?php echo $view == 'badges' ? 'active' : '';?>">
<a href="<?php echo FRoute::badges( array( 'layout' => 'achievements' ) );?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_ACHIEVEMENTS' );?>
</a>
</li>
<?php } ?>
<?php if( $this->config->get( 'points.enabled' ) ){ ?>
<li class="<?php echo $view == 'points' ? 'active' : '';?>">
<a href="<?php echo FRoute::points( array( 'layout' => 'history' , 'userid' => $this->my->getAlias() ) );?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_POINTS_HISTORY' );?>
</a>
</li>
The code you gave, looks to be missing the language strings too? I'm not sure though, just going off of observation.