0

Trying to do this:

{exp:channel:entries channel="main{if embed:inttest=="yes"}_inttest{/if}" limit="1" disable="member_data|pagination" status="{tv_status}"}

Am I misunderstanding the channel entries tag parse order? I've stuck to simple conditionals testing only a Stage 1 embed var (right?) so I thought this would work, but nope. Thanks in advance for setting me straight.

0

Aha. This works:

{exp:channel:entries channel="main{if "{embed:inttest}"=="yes"}_inttest{/if}" limit="1" disable="member_data|pagination" status="{tv_status}"}

¯\_(ツ)_/¯

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.