Hi to all,
in the file jf_texturia/html/com_content/category/blog_item.php
there is an error. If "show_author" is set to false the html generated is wrong because the tr and the td aren't open:
<?php if (($this->item->params->get('show_author')) && ($this->item->author != "")) : ?>
<tr>
<td width="70%" valign="top" colspan="2">
<span class="small">
<?php JText::printf( 'COM_CONTENT_WRITTEN_BY', ($this->escape($this->item->created_by_alias) ? $this->escape($this->item->created_by_alias) : $this->escape($this->item->author)) ); ?>
</span>
<?php endif; ?>
<?php if ($this->item->params->get('show_create_date')) : ?>
<span class="createdate"><?php echo JText::_( 'Scritto il').date("d.m.Y",strtotime($this->item->created)); ?></span>
<?php endif; ?>
</td>
</tr>
One possible solution is the follow:
<tr>
<td width="70%" valign="top" colspan="2">
<?php if (($this->item->params->get('show_author')) && ($this->item->author != "")) : ?>
<span class="small">
<?php JText::printf( 'COM_CONTENT_WRITTEN_BY', ($this->escape($this->item->created_by_alias) ? $this->escape($this->item->created_by_alias) : $this->escape($this->item->author)) ); ?>
</span>
<?php endif; ?>
<?php if ($this->item->params->get('show_create_date')) : ?>
<span class="createdate"><?php echo JText::_( 'Scritto il').date("d.m.Y",strtotime($this->item->created)); ?></span>
<?php endif; ?>
</td>
</tr>