Substituer les infos de l'Article Joomla grâce à purity
Dans Purity III, les infos de l'article sont surchargés, de sorte qu'il a un style différent en comparaison avec le style par défaut.
Liste des surcharges d'infos
- author.php
- block.php
- category.php
- create_date.php
- hits.php
- modify_date.php
- parent_category.php
- publish_date.php
Si vous souhaitez personnaliser une des info, ouvrez le fichier puis personnalisez.
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_BASE') or die;
$author = $displayData['item']->author;
$author = ($displayData['item']->created_by_alias ? $displayData['item']->created_by_alias : $author);
?>
<dd class="createdby" title="<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author) ?>">
<i class="fa fa-user"></i>
<?php if (!empty($displayData['item']->contactid ) && $displayData['params']->get('link_author') == true) : ?>
<?php
echo JHtml::_('link', JRoute::_('index.php?option=com_contact&view=contact&id='.$displayData['item']->contactid), $author) ?>
<?php else :?>
<?php echo $author ?>
<?php endif; ?>
</dd>
Personnaliser les infos auteur


