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.

Trying to get username="CURRENT_USER" working...

May 22, 2008 2:21pm

Subscribe [1]
  • #1 / May 22, 2008 2:21pm

    wellnessre

    1 posts

    Hi all,  I’m having some issues getting this variable working.

    I have one entry under my “journal” weblog.

    my weblog entries tag is:

    {exp:weblog:entries username="CURRENT_USER" weblog="journal" orderby="date" sort="desc" disable="member_data|trackbacks"}

    The entry is (correctly) not displayed until I log in with the author.  At that point it displays for that author, which is also correct.  The problem is that it continues to display for all users (or even when not logged in) after that point, until I update the template. 

    Is there something obvious I’m missing here?  Caching is turned of for this template if that is relevant…

    Thanks a ton!

    -Tyler

  • #2 / May 22, 2008 4:05pm

    wellnessre

    1 posts

    Ok, I lied.  It was the Dynamic Weblog query caching that caused the problem…

    Finally working now…

  • #3 / May 22, 2008 4:10pm

    Ingmar

    29245 posts

    Glad you’re all set. That one can be trick to spot…

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

ExpressionEngine News!

#eecms, #events, #releases