Hi, I have set Show Hits, Show File Size, Creation date etc to yes in the configuration, but it doesn't show up in the document page. So I added this to the template override file :
<ul>
<?php if ($this->config->show_dm_creation_date) { ?>
<li><i class="fi-calendar"></i> <?php echo JText::_('Created at'); ?>
<strong><?php echo JHTML::_('date', $this->item->created_date, $this->config->date_format); ?></strong></li>
<?php } if ($this->config->show_dm_modified_date) { ?>
<li><i class="fi-calendar"></i> <?php echo JText::_('Updated at'); ?> <strong><?php echo JHTML::_('date', $this->item->modified_date, $this->config->date_format); ?></strong></li>
<?php } if ($this->config->show_dm_filesize) { ?>
<li><i class="fi-page"></i> <?php echo JText::_('DMS_FILESIZE') ?> <strong><?php echo $this->item->data->size; ?></strong></li>
<?php } if ($this->config->show_hits) { ?>
<li><i class="fi-eye"></i> <strong><?php echo $item->hits; ?></strong> <?php echo JText::_('DMS_HITS'); ?></li>
<?php } ?>
</ul>
And it's working fine, except the file size. It return EMPTY.
Do you have any idea?