Search
Other Articles Anywhere questions
Forum

Incorrect output with one per category and articles others

Hitsch's Avatar Hitsch
We would like to display access figures from several categories in a nested table.
This code
<table>
{articles category="animals" include-child-categories="true" one-per-category="true"}
<h4>[category]</h4>
{articles-others category="[category]" articles="![id]" limit="10"}
<tr>
  <td><table>
      <tr>
        <td>[id]</td>
        <td>[title]</td>
        <td>[hits]</td>
      </tr>
    </table></td>
</tr>
{/articles-others}
	  {/articles}
</table>

results in:
Title (Category X)
Title (Category Y)

Article 1 (category X)
Article 2 (category X)
Article 3 (category Y)
Peter van Westen's Avatar Peter van Westen ADMIN
You can't place a <h4> as nested tag directly inside a <table> element.
Place it above the table, or in a <td>/<th>.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription