Skip to main content

How to check to see if logged in

15 years 2 months ago - 15 years 2 months ago #24799 by mrdan
Is there a way to check to see if user is logged in? I want to display either login or logout in a custom menu. Thanks for your help.
Last edit: 15 years 2 months ago by mrdan.

Please Log in or Create an account to join the conversation.

15 years 2 months ago #24800 by nicolas
In the joomla menu manager, when you edit a menu you can define what group can see it. So you will be able to display a menu or not based on whether the user is logged in or not.

Please Log in or Create an account to join the conversation.

15 years 2 months ago #24801 by mrdan
Excellent. Is there also a way to see if logged in in a PHP function?

Please Log in or Create an account to join the conversation.

15 years 2 months ago #24804 by nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum