Posted By

bubaphex on 11/03/11


Tagged

joomla


Versions (?)

Remove Title from Read More


 / Published in: PHP
 

URL: http://stackoverflow.com/questions/5730435/remove-readmore-article-title-from-joomla

  1. in the html folder in template files:
  2.  
  3. <?php if ($this->item->readmore_register) :
  4. echo JText::_('Register to read more...');
  5. elseif ($readmore = $this->item->params->get('readmore')) :
  6. echo $readmore;
  7. else :
  8. echo JText::sprintf('Read more', $this->escape($this->item->title));
  9.  
  10. endif; ?>
  11. Change this rule:
  12.  
  13. echo JText::sprintf('Read more', $this->escape($this->item->title));
  14. To:
  15.  
  16. echo 'Read More';

Report this snippet  

You need to login to post a comment.