"Currently logged in as: USERNAME" in breadcrumbs
"Currently logged in as: USERNAME" in breadcrumbs
I'm using Frontend User, and in the breadcrumbs that show on every page, I would like it to say:
Currently logged in as: USERNAME (logout / change preferences)
I've tried pasting the code in the logout form template to the breadcrumbs section of the main template, and it didn't work. I know I'm missing something.
I have looked everywhere and I have not been able to find this topic. Please forgive me if I have mistakenly overlooked it. -_-
Any help you can provide is greatly appreciated! Also, if my codes are needed just please let me know.
Thanks.
Currently logged in as: USERNAME (logout / change preferences)
I've tried pasting the code in the logout form template to the breadcrumbs section of the main template, and it didn't work. I know I'm missing something.
I have looked everywhere and I have not been able to find this topic. Please forgive me if I have mistakenly overlooked it. -_-
Any help you can provide is greatly appreciated! Also, if my codes are needed just please let me know.
Thanks.
Last edited by sweaverit on Sat Feb 09, 2008 4:14 am, edited 1 time in total.
Re: "Currently logged in as: USERNAME" in breadcrumbs
instead breadcrumbs would be more something with a little custome content part or similar style - think i done something similar on www.hallowhouse.com in top right once logged in that changes to that
Re: "Currently logged in as: USERNAME" in breadcrumbs
Hello, here is a try with FEU+CC :
{if $ccuser->loggedin()}
Currently logged in as: {$customcontent_loginname}
{else}
Not logged in.
{/if}
Pierre M.
{if $ccuser->loggedin()}
Currently logged in as: {$customcontent_loginname}
{else}
Not logged in.
{/if}
Pierre M.
Re: "Currently logged in as: USERNAME" in breadcrumbs
That worked to display the "Not logged in." when they aren't logged in. But the username isn't showing up.Pierre M. wrote: Hello, here is a try with FEU+CC :
{if $ccuser->loggedin()}
Currently logged in as: {$customcontent_loginname}
{else}
Not logged in.
{/if}
Pierre M.
Re: "Currently logged in as: USERNAME" in breadcrumbs
How did you do this?GraemeS wrote: instead breadcrumbs would be more something with a little custome content part or similar style - think i done something similar on www.hallowhouse.com in top right once logged in that changes to that
Re: "Currently logged in as: USERNAME" in breadcrumbs
You need to install the custom content module as well. You don't state that it's installed or not.
Re: "Currently logged in as: USERNAME" in breadcrumbs
My apologies. Yes, Custom Content is installed along with Front End User.
Re: "Currently logged in as: USERNAME" in breadcrumbs
{cms_module module=CustomContent}
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
welcome {$customcontent_loginname}
To View your menu system click here
{else}
You are not currently logged in.
Please Log in to access you user area
{/if}
that is mine which isnt the best way i guess but works for me
hope this helps anyone who needs it
{if isset($customcontent_loggedin) && $customcontent_loggedin > 0 }
welcome {$customcontent_loginname}
To View your menu system click here
{else}
You are not currently logged in.
Please Log in to access you user area
{/if}
that is mine which isnt the best way i guess but works for me

hope this helps anyone who needs it
Last edited by GraemeS on Tue Feb 19, 2008 10:57 am, edited 1 time in total.
Re: "Currently logged in as: USERNAME" in breadcrumbs
{$customcontent_loginname} can also be replaced with {$username} and seems to sometimes work too
Re: "Currently logged in as: USERNAME" in breadcrumbs
did forget to mention mine is setup to work along with my own site template so your div styles etc willl need to be different,