Hi Corinne,
May be I can little bit help.
To do what you need, you can use loop functions.
To use it, you first must get an array with your KATEGORIE using read_data in Functions tabs. If it's not in a specific table, try do sort it with the read_data function.
then Call a loop function.
So this is for the Event tab :[pre]{fn:Get_KATEGORIE_title}
{fn:Display_per_KATEGORIE}[/pre]
Then add a loop in Functions tabs :[pre]Name:Display_per_KATEGORIE
Data provider : {var:Get_KATEGORIE_title}
[/pre]
In the LOOP BODY, you will need to adapt the code in terms of your database table but this is what you need to do :
1 - Get the title KATEGORIE looking for in the current array and then set a variable containing it. [br]
2 - Use a read_data for this specific title :
Function name : GET_INFOS_FOR_ONE_KATEGORIE
Where conditions :
kategorie:{data:KATEGORIE_TITLE}
3 - Use a view table
The code will depends on how you make the array Get_KATEGORIE_title so this code below is just an example of what could be write in the loop body :[br]
{data.set:KATEGORIE_TITLE$(var:Display_per_KATEGORIE.row.TITLE)}
<div class="ui segment red">
<b> {var:Display_per_KATEGORIE.row.TITLE} </b>
{fn:GET_INFOS_FOR_ONE_KATEGORIE}
{view:DISPLAY_INFOS}
</div>
[br]
I don't explain each steps cause I think you know how to do. I hope it can help you .