Skip to content

Instantly share code, notes, and snippets.

@katyayu
Created Feb 6, 2018
Embed
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')) :
    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