Warning!
This override is about the administrator module: mod_latest
With this override, you can display in the backend of your clients'site, the list of your management actions.
Setup
- Add the override to your site
- Create a new article category Site management
- Create a new article for each management action you do on the site and add them to this new category
- Create a new administrator module mod_latest,
- select the category Site management
- adjust the others setups to your needs
- select the override in the tab advanced parameters
- publish the module in icon position of Isis template
- Save and close
Screenshot
HTML markup
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_latest
* @Author web-eau.net
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('bootstrap.tooltip');
?>
<!-- on stylise l'affichage du module avec le style Bootstrap -->
<div class="alert alert-success" role="alert">
<h3 class="center">Journal de gestion du site</h3>
<div>
<?php if (count($list)) : ?>
<?php foreach ($list as $i => $item) : ?>
<div class="row">
<div class="col-8 truncate">
<?php echo JHtml::_('jgrid.published', $item->state, $i, 'articles.', false, 'cb', $item->publish_up, $item->publish_down); ?>
<?php if ($item->checked_out) : ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time); ?>
<?php endif; ?>
<strong class="row-title" title="<?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>">
<?php if ($item->link) : ?>
<a ef="<?php echo $item->link; ?>">
<?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?></a>
<?php else : ?>
<?php echo htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>
<?php endif; ?>
</strong>
</div>
<div class="col-4">
<div class="small pull-right hasTooltip" title="<?php echo JHtml::_('tooltipText', 'JGLOBAL_FIELD_CREATED_LABEL'); ?>">
<span class="icon-calendar" aria-hidden="true"></span> <?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC5')); ?>
</div>
</div>
</div>
<?php endforeach; ?>
<?php else : ?>
<div class="row">
<div class="col-12">
<div class="alert"><?php echo JText::_('MOD_LATEST_NO_MATCHING_RESULTS');?></div>
</div>
</div>
<?php endif; ?>
</div><br /><br />
</div>
(sdc override-site-management-logs.zip)