Display Membership Levels on all Pages
I know this has been discussed in the past, however not all of the code worked for me.
I need to display the Membership Level immediately after Login. Even if the user returns to the very first page, the Membership Level needs to be displayed. If they are not a member, I would like it to show - "Membership Level: Not a Member".
I am currently using the following code in the Header.tpl:
{if $userinfo.membership ne ""}
Membership Level:
{$lng.lbl_your_membership}{$userinfo.membership}
{/if}
This only works after clicking the View Cart or Checkout links. If I return to the "Home" page, it disappears.
Any help would be much appreciated.
|