Description:
The info block render helper does not hide the entire html generated when selecting above or below from the article options when using components like Category Blog. The default article view component is fine as it does not use the render helper.
This produces errors when trying to style the .article-info class. If this is intentional, please note this breaks behavior across different components IE Category Blog and the default article view.
Version:
Joomla 3.2 (Windows 7 64bit, Chrome)
Details:
File: ../components/com_content/info_block/block.php
<dl class="article-info muted">
<?php if ($displayData['position'] == 'above' && ($blockPosition == 0 || $blockPosition == 2)
[Other Code]
<?php endif; ?>
</dl>
Should be:
<?php if ($displayData['position'] == 'above' && ($blockPosition == 0 || $blockPosition == 2)
<dl class="article-info muted">
[Other Code]
</dl>
<?php endif; ?>
Repro Steps:
Results:
Both article-info are still visible. One with text and one without depending on option selected.
Expected:
Only one article-info box should be visible depending on your option (IE either below or above)