Currently I'm trying to use if statements to determine what category to filter on. I'm using a combination of freebie and embed. However, I can't seem to find the right syntax to filter correctly. I have tried different orders for the if statements.
Broken: {exp:channel:entrieschannel="resources" {if freebie_break_1}category='{freebie_break_1}'{if:else embed:category}category='{embed:category}'{/if} {if freebie_break_2}category2="{freebie_break_2}"{/if}... normal channel params}
Works:
{if embed:category}category='{embed:category}'{/if}
Can someone let me know if category selection simply won't allow me to have this syntax?