Menu Item Access Levels Topic is solved
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! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Menu Item Access Levels
Joomla 3.9.1 - PHP 7.2
I want to have two main menu items that change over for public and registered users - ie a user who is not logged in sees only Menu 1 and a logged-in user sees only Menu 2. I thought it was easy and so set up Menu 1 to have "registered" access only, and Menu 2 to have Guest" access only. Then, in Users/User Option, I set the Guest User Group to "Group" rather than the default "Public". For registered users this works. However, both menus disappear when a user is not logged in.
Any advice would be appreciated.
I want to have two main menu items that change over for public and registered users - ie a user who is not logged in sees only Menu 1 and a logged-in user sees only Menu 2. I thought it was easy and so set up Menu 1 to have "registered" access only, and Menu 2 to have Guest" access only. Then, in Users/User Option, I set the Guest User Group to "Group" rather than the default "Public". For registered users this works. However, both menus disappear when a user is not logged in.
Any advice would be appreciated.
- toivo
- Joomla! Master
- Posts: 17435
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Menu Item Access Levels
When the Guest User Group in Users - Options is 'Guest' and the viewing access level of the corresponding menu module is also 'Guest', this configuration should work all right, as long as the viewing access level 'Guest' remains assigned to the user group 'Guest'.
Toivo Talikka, Global Moderator
- Per Yngve Berg
- Joomla! Master
- Posts: 30925
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Menu Item Access Levels
Set the Guest User Group to "Guest". The Guest group should be a child of public and a sibling to Registered.
https://docs.joomla.org/How_do_you_hide ... n_users%3F
The Guest user group should be there from scratch in Joomla 3.x. If you have upgraded, it may be missing.
https://docs.joomla.org/How_do_you_hide ... n_users%3F
The Guest user group should be there from scratch in Joomla 3.x. If you have upgraded, it may be missing.
-
- Joomla! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Re: Menu Item Access Levels
Thanks to both for the replies.
1 - My standard Joomla 3.9.1 configuration has the Guest user group as a child of Public but the parent of Registered. Does that mean I have to create a new "Guestxxx" user group to make this work?
2 - I don't understand "the corresponding menu module is also 'Guest' ". I have the menu item set to Guest.
1 - My standard Joomla 3.9.1 configuration has the Guest user group as a child of Public but the parent of Registered. Does that mean I have to create a new "Guestxxx" user group to make this work?
2 - I don't understand "the corresponding menu module is also 'Guest' ". I have the menu item set to Guest.
- Per Yngve Berg
- Joomla! Master
- Posts: 30925
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Menu Item Access Levels
Move Registered, so it's a child of Public.
- Per Yngve Berg
- Joomla! Master
- Posts: 30925
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Menu Item Access Levels
Mod. Note: Relocated the topic to the ACL forum.
-
- Joomla! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Re: Menu Item Access Levels
Thanks!
I will try that and post the result in due course.
Thanks for the advice.
I will try that and post the result in due course.
Thanks for the advice.
-
- Joomla! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Re: Menu Item Access Levels
OK, I give up! How do I move the Registered access level?
- Per Yngve Berg
- Joomla! Master
- Posts: 30925
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Menu Item Access Levels
Open the Group and set the Parent.
-
- Joomla! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Re: Menu Item Access Levels
OK, I have done that - but still no luck!
Please have a look at http://79.170.40.166/jadance.co.uk/inde ... hop-guest1, and you will see that when selecting any product subcategory the system demands that the user should log in. Why? The Shop menu in use is a Guest level menu and all the product within the subcategories are "Available to all shopper groups".
The default group for non-logged in users is set to Guest.
I have spent all day on this and still I cannot make it work.
Please have a look at http://79.170.40.166/jadance.co.uk/inde ... hop-guest1, and you will see that when selecting any product subcategory the system demands that the user should log in. Why? The Shop menu in use is a Guest level menu and all the product within the subcategories are "Available to all shopper groups".
The default group for non-logged in users is set to Guest.
I have spent all day on this and still I cannot make it work.
-
- Joomla! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Re: Menu Item Access Levels
The characteristics of the problem are now:
Menu 1 (Registered level) works as expected;
Menu 2 (Guest level) is not displayed in the front end for non-logged-in users, and remains displayed for regitered users.
I have the Default Guest User Group set to "Guest".
Menu 1 (Registered level) works as expected;
Menu 2 (Guest level) is not displayed in the front end for non-logged-in users, and remains displayed for regitered users.
I have the Default Guest User Group set to "Guest".
-
- Joomla! Enthusiast
- Posts: 201
- Joined: Sat Mar 07, 2009 5:27 pm
Re: Menu Item Access Levels
OK, I Have solved the mystery! There were no access levels assigned to the Guest group.
Thanks to all who were kind enough to contribute. It made a real difference!
Thanks to all who were kind enough to contribute. It made a real difference!