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.

Set Category by member login

February 09, 2012 5:17pm

Subscribe [1]
  • #1 / Feb 09, 2012 5:17pm

    NCangler

    26 posts

    I’m trying to set the category parameter in a channel tag based on the user that is signed in.  In other words I want a user to automatically see entries from a specific category in that channel based on their sign-in.  The channel is used for clients to preview video clips.  For each entry made in the channel, a category designated for that client is assigned. 

      I have tried writing {IF} statements to set a variable to the category id based on the logged in user member id.  But I don’t think it gets parsed soon enough to use in the channel tag.  I’ve been looking for a plug-in.  Anyone know of a good way to do this? 

  • #2 / Feb 10, 2012 8:35am

    NCangler

    26 posts

    I figured it out. I used conditional variables and embeds as I originally tried, just made a few changes to the implementation.

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

ExpressionEngine News!

#eecms, #events, #releases