I’d like to change the category shown of a exp:channel:entries tag based on the page it is on.
Something like this:
{exp:channel:entries channel="news" dynamic="no" limit="12" {if segment_1 == "ps3"} category="28" {if:elseif segment_1 == "xbox-360"} category="29" {/if} paginate="bottom"}OR:
{if segment_1 == "ps3"}
{exp:channel:entries channel="news" dynamic="no" limit="12" category="28" paginate="bottom"}
{if:elseif segment_1 == "xbox-360"}
{exp:channel:entries channel="news" dynamic="no" limit="12" category="29" paginate="bottom"}
{if:else}
{exp:channel:entries channel="news" dynamic="no" limit="12" paginate="bottom"}
{/if}But neither of those are working. I’m new to EE so I’m not sure if they’re correct, but I’m not sure what else I could do. Any suggestions?