Skip to content

Instantly share code, notes, and snippets.

@katyayu
Created February 6, 2018 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katyayu/83de821717e7bf90823eb11d87b3e4b4 to your computer and use it in GitHub Desktop.
Save katyayu/83de821717e7bf90823eb11d87b3e4b4 to your computer and use it in GitHub Desktop.
  <!--<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')) :
    echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
    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'));
    endif;
    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; ?>
  </span></a>
  </div> </div>-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment