Skip to content

Instantly share code, notes, and snippets.

Created February 6, 2018 15:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
  <!--<div class="more_wrapper">
      <div class="vert-align">
  <a class="btn btn-info item_more" href="<?php echo $link; ?>"><span>
    <?php if (!$params->get('access-view')) :
    elseif ($readmore = $this->item->alternative_readmore) :
    echo $readmore;
    if ($params->get('show_readmore_title', 0) != 0) :
    echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
    elseif ($params->get('show_readmore_title', 0) == 0) :
    echo JText::sprintf('TPL_COM_CONTENT_READ_MORE');
    else :
    echo JText::_('TPL_COM_CONTENT_READ_MORE');
    echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
    endif; ?>
  </div> </div>-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment