I'm having a bit of trouble with this, and I can't even describe it very well. Anyways, what I want to do, is list through all the entries I have in a certain channel, just like usual. Except I want to sort it by categories. So on the page, I want category 1 title, then all the entries assigned to category 1, then category 2 title, and all the entries assigned to category 2, etc. Like this:
**CATEGORY 1 TITLE**
_______
| | {title}
| {img} | {description}
|_______|
_______
| | {title}
| {img} | {description}
|_______|
**CATEGORY 2 TITLE**
_______
| | {title}
| {img} | {description}
|_______|
**CATEGORY 3 TITLE**
_______
| | {title}
| {img} | {description}
|_______|
_______
| | {title}
| {img} | {description}
|_______|
Hopefully that makes sense. This is what I've tried,
{exp:channel:entries channel="mychannel"}
{exp:channel:categories channel="mychannel" style="linear"}
<h2>{category_name}</h2>
<img src="{img}" alt="{alt}">
<h3>{title}</h3>
<p>{description}</p>
{/exp:channel:categories}
{/exp:channel:entries}
But that doesn't work at all, because for each entry it shows all the category titles, and then under each title displays that entry's info once.
I really hope that was clear enough. Any help would be greatly appreciated. Thank you