Hi,
I have a page on my site that displays an article and to get some of the author’s bio information I make a call to their custom member profile data passing their ID like this:
{exp:member:custom_profile_data member_id="{author_id}"}
{if footer_bio != ""}<hr>{/if}
{footer_bio}
{/exp:member:custom_profile_data}This works great, but then later in the same template I want to display the screen name of the currently logged in user. When I call the Global Variable {screen_name} it’s still showing the screen name for the member who’s ID I called using {{exp:member:custom_profile_data} and not the screen name of the currently logged in user. Is there something I need to so to reset/clear the global variable?
I did have caching on for my article template and I tried turning that off, but it didn’t seem to make a difference.