hola gente.. quisiera poner el texto del parrafo elegido para el "readmore" en negrita y cursiva .. prove varias opciones y no me sale ... seguro que algún experto en php podría ayudarme .. deberia
agregar un div en alguna parte del codigo php ... probe modificando
<p class="readmore"> desde el archivo template.css (font-weight:bold y font-style: italic.... ni siquiera con !importan) y no lo toma .. probe agrenado un div que envuelva el mencionado y nada...
estoy usando la plantilla
http://demo.gavick.com/joomla25/news/ ... y no estoy utilizando el k2 (en la demo lo utiliza mucho)
Código PHP:
Ver original<div class="itemBody">
<?php if (!$params->get('show_intro')) : ?>
<?php echo $this->item->event->afterDisplayTitle; ?>
<?php endif; ?>
<?php echo $this->item->event->beforeDisplayContent; ?>
<?php if (isset ($this->item->toc)) : ?> <?php echo $this->item->toc; ?>
<?php endif; ?>
<?php if (isset($urls) AND
((!empty($urls->urls_position) AND
($urls->urls_position=='0')) OR
($params->get('urls_position')=='0' AND
empty($urls->urls_position) )) OR
(empty($urls->urls_position) AND
(!$params->get('urls_position')))): ?> <?php echo $this->loadTemplate('links'); ?>
<?php endif; ?>
<?php if ($params->get('access-view')):?>
<?php
if (!empty($this->item->pagination) AND
$this->item->pagination AND
!$this->item->paginationposition AND
!$this->item->paginationrelative): echo $this->item->pagination;
endif;
?>
<?php echo $this->item->text; ?>
<?php if (isset($urls) AND
((!empty($urls->urls_position) AND
($urls->urls_position=='1')) OR
( $params->get('urls_position')=='1') )): ?> <?php echo $this->loadTemplate('links'); ?>
<?php endif; ?>
<?php if (!empty($this->item->pagination) AND
$this->item->pagination AND
$this->item->paginationposition AND
!$this->item->paginationrelative): ?> <?php echo $this->item->pagination; ?>
<?php endif; ?>
<?php elseif ($params->get('show_noauth') == true and $user->get('guest') ) : ?>
<?php echo $this->item->introtext; ?>
<?php //Optional link to let them register to see the whole article. ?>
<?php if ($params->get('show_readmore') && $this->item->fulltext != null) :
$link1 = JRoute::_('index.php?option=com_users&view=login');
$link = new JURI($link1);?>
<p class="readmore">
<a href="<?php echo $link; ?>">
<?php
if ($attribs->alternative_readmore == null) :
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('COM_CONTENT_READ_MORE_TITLE'); else :
echo JText::_('COM_CONTENT_READ_MORE');
echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
endif; ?></a>
</p>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if (!empty($this->item->pagination) AND
$this->item->pagination AND
$this->item->paginationposition AND
$this->item->paginationrelative): ?> <?php echo $this->item->pagination;?>
<?php endif; ?>