To nie dodatek. Nadpisane szablony przeglądów i dodany kod (pliki definiujace szablon pozycji w przeglądzie blog_item oraz default-Item (fronted)
Kod oryginalny
Kod PHP:
<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<tr>
<td colspan="2">
<a href="<?php echo $this->item->readmore_link; ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
<?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
else :
echo JText::sprintf('Read more...');
endif; ?></a>
</td>
</tr>
<?php endif; ?>
Kod w szablonie Joomla.pl
Kod PHP:
<!-- Czytaj wiecej -->
<?php if ($this->item->params->get('show_readmore') && $this->item->readmore) : ?>
<p>
<a href="<?php echo $this->item->readmore_link; ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">
<?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
else :
echo JText::sprintf('Read more', $this->escape($this->item->title));
endif; ?></a>
</p>
<?php endif; ?>