ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Display category based on member group...

July 30, 2013 6:50pm

Subscribe [1]
  • #1 / Jul 30, 2013 6:50pm

    sparky

    17 posts

    I’m currently trying to setup a channel entry to display only the “standard” category if the

    member_group=="2"
    , and then display the “standard” and “wholesale” category if the
    member_group=="1"

    I’m not quite sure how to tackle this? It seems like a simple task, however, I can’t quit grasp how I would place a conditional inside of the exp channel entries tag? Any thoughts? This should be something that is easy to do (at least in concept), but I can’t figure it out…

  • #2 / Jul 30, 2013 7:01pm

    sparky

    17 posts

    As a reference, this conditional is outputting what I want

    {if member_group == "1"}1|2{if:else}1{/if}

    I just don’t know how to get it into the

    {exp:channel:entries category=" "}

    section?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases