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.

Content Specific for a particular member

January 20, 2012 10:14pm

Subscribe [2]
  • #1 / Jan 20, 2012 10:14pm

    Edwin Flores

    13 posts

    This question may be related to a resolved thread.

    I am trying to have a member-only content based on channel entries.  I have created a special member group called clients and I am adding different entries for different clients.  I am using the approach of matching the username with the CURRENT_USER but for some reason is not working.
    What I have it looks like this.

      {exp:channel:entries channel="clients" limit="5" username="CURRENT_USER" }
                  Welcome {username}
                  {title}
                  {clients_content}
                {/exp:channel:entries}
    Also I am sure that I have assigned the proper author to the entry in the entry publish form.

    Any thoughts of what am I doing wrong?

    EE v2.2.2 - Build: date 20110801
    Using MSM

     

  • #2 / Jan 21, 2012 1:30am

    Edwin Flores

    13 posts

    After looking further in the forum, I’ve found the problems

    1.  Cache Dynamic Channel Queries in channel admin was set to yes.
    2.  Enable caching on Template Preferences was set to yes.

    Thanks.

  • #3 / Jan 22, 2012 9:48am

    Sean C. Smith

    3818 posts

    Edwin,

    Glad to see you resolved this yourself. Is there anything else I can assist you with?

    Sean

  • #4 / Jan 24, 2012 10:59am

    Edwin Flores

    13 posts

    We are good, thanks!!!!!

  • #5 / Jan 24, 2012 6:17pm

    Sean C. Smith

    3818 posts

    Awesome. I’m going to close out this thread, but feel free to post again when you have more questions.

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

ExpressionEngine News!

#eecms, #events, #releases