Hi all,
I have the following code which is meant to show all the entry titles for the parents only of a particular category group. Unfortunately the same entry titles keep repeating even though they aren’t in the category shown.
{exp:weblog:categories weblog="{my_weblog}" category_group="2" style="linear" parent_only="yes"}
<h2>{category_name}</h2>
{if category_description}<p>{category_description}</p>{/if}
<ul>
{exp:weblog:entries orderby="date" category_id="{category_id}" weblog="{my_weblog}" disable="member_data|trackbacks"}
<li>{title}</li>
{/exp:weblog:entries}
</ul>
{/exp:weblog:categories}
Produces the following:
Northumberland
* Quantity Surveyor
* Scaffolder
* Contracts Supervisor
Co Durham
* Quantity Surveyor
* Scaffolder
* Contracts Supervisor
Cleveland
* Quantity Surveyor
* Scaffolder
* Contracts Supervisor
Tyne and Wear
* Quantity Surveyor
* Scaffolder
* Contracts Supervisor
It’s probably something really stupid but I can’t figure this one out!
