How Do I Hide Menu Item After Logging In?
Moderators: mandville, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
How Do I Hide Menu Item After Logging In?
Greetings,
I've been studying this since yesterday evening and I'm still at a lost.
Simply, I have the Login Module as a menu item. After the user logs in, I want the menu item called MEMBERS ONLY, that has the login module as a menu item listed, to disappear.
I read two tutorials that instructed me to use the Guest User Group to accomplish this.
I set the menu item to Guest, I set the default user group, under User Group--> Options to Guest and the actual User's are assigned to Guest and Registered.
When I log in under those settings, the menu item is still there.
What am I doing wrong?
I'm using Joomla 3.4
I've been studying this since yesterday evening and I'm still at a lost.
Simply, I have the Login Module as a menu item. After the user logs in, I want the menu item called MEMBERS ONLY, that has the login module as a menu item listed, to disappear.
I read two tutorials that instructed me to use the Guest User Group to accomplish this.
I set the menu item to Guest, I set the default user group, under User Group--> Options to Guest and the actual User's are assigned to Guest and Registered.
When I log in under those settings, the menu item is still there.
What am I doing wrong?
I'm using Joomla 3.4
- Webdongle
- Joomla! Master
- Posts: 44071
- Joined: Sat Apr 05, 2008 9:58 pm
Re: How Do I Hide Menu Item After Logging In?
Registered Users should not be selected in the Guest view/access level
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
Ok, so I removed Registered from User Assigned Groups set to only Guest - and now when I attempt to log in, I get the following message:
"Warning
You can't access the private section of this site."
I have everything set to Guest:
Menu Item is set to Guest
Under Guest User Group --> Options I have set to Guest
The actual User I created has only access to Guest
Viewer Access Level for Guest is set to Guest.
James
"Warning
You can't access the private section of this site."
I have everything set to Guest:
Menu Item is set to Guest
Under Guest User Group --> Options I have set to Guest
The actual User I created has only access to Guest
Viewer Access Level for Guest is set to Guest.
James
- Webdongle
- Joomla! Master
- Posts: 44071
- Joined: Sat Apr 05, 2008 9:58 pm
Re: How Do I Hide Menu Item After Logging In?
You got it backwards. Registered users should NOT be in Guest user/access level.Jay313 wrote:Ok, so I removed Registered from User Assigned Groups set to only Guest -...
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
Ok, so I added Registered back to the users Assigned Groups, if I'm following you correctly. I went under View Access Level , under Guest, and Registered is not checked.
I went to the front end and can now login however that menu item is still present in the main menu - its not hidden.
I went to the front end and can now login however that menu item is still present in the main menu - its not hidden.
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
What will help me is for someone to tell me how the access levels should be set for the following -for a menu item to become hidden after a User logs in:
User
UserGroup
Access Control Level
Default User Group
Menu Item Access Level
So that when a user logs in, I want that particular menu item MEMBERS ONLY to become hidden.
Thanks
User
UserGroup
Access Control Level
Default User Group
Menu Item Access Level
So that when a user logs in, I want that particular menu item MEMBERS ONLY to become hidden.
Thanks
- Webdongle
- Joomla! Master
- Posts: 44071
- Joined: Sat Apr 05, 2008 9:58 pm
Re: How Do I Hide Menu Item After Logging In?
For a menu item to become hidden after login then set its view/access level to 'Guest'
In the 'Guest' leave it default ie. only Guest and Super User selected.
My guess is you have been testing by logging in as Super User instead of using a test account set at Registered.
In the 'Guest' leave it default ie. only Guest and Super User selected.
My guess is you have been testing by logging in as Super User instead of using a test account set at Registered.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
Actually, the User is assigned to Registered only. The menu item is set to Access Level Guest. Under User-->Access Level Control - under Guest - Guest and Super User are selected and under User Groups - Guest has Public as its Parent.
And with those settings, after logging in, the menu doesn't go away.
it seems straight forward, its just not working for me...its very frustrating....
Thanks,
James
And with those settings, after logging in, the menu doesn't go away.
it seems straight forward, its just not working for me...its very frustrating....
Thanks,
James
- Webdongle
- Joomla! Master
- Posts: 44071
- Joined: Sat Apr 05, 2008 9:58 pm
Re: How Do I Hide Menu Item After Logging In?
What user group are you loggin in on the front end ? What user group ?Jay313 wrote:Actually, the User is assigned to Registered only. The menu item is set to Access Level Guest. Under User-->Access Level Control - under Guest - Guest and Super User are selected and under User Groups - Guest has Public as its Parent.
And with those settings, after logging in, the menu doesn't go away.
...
Also please http://forum.joomla.org/viewtopic.php?f=621&t=582860
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
If you're asking what group is the user assigned to, that would be Registered.
- Webdongle
- Joomla! Master
- Posts: 44071
- Joined: Sat Apr 05, 2008 9:58 pm
Re: How Do I Hide Menu Item After Logging In?
PM me a SU login if you wish or http://forum.joomla.org/viewtopic.php?f=621&t=582860
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- Webdongle
- Joomla! Master
- Posts: 44071
- Joined: Sat Apr 05, 2008 9:58 pm
Re: How Do I Hide Menu Item After Logging In?
OK ... had quick look and you have K2. methinks you need to configure that
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
I don't get it....why would I need to configure K2? The menu item has nothing to do with K2. Please advise.
Thanks!
Thanks!
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
I did notice that my test user DetroitJay is not listed under K2 Users.
-
- Joomla! Apprentice
- Posts: 47
- Joined: Wed May 26, 2010 6:47 pm
Re: How Do I Hide Menu Item After Logging In?
I found the issue. Under User Group - Registered had Guest as its Parent - I changed it to Public and VOILA...the menu is hidden after a user logs in. I knew it was something simple.
Thanks for your help!
Thanks for your help!
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: How Do I Hide Menu Item After Logging In?
So you made the following mistakes:
- Move the group Registered below Guest.
- Fail to mention that in the list of things you did
- Place users in group Guest.
- Move the group Registered below Guest.
- Fail to mention that in the list of things you did
- Place users in group Guest.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!