We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Daniele
  2. General Discussion
  3. Saturday, 03 January 2015
  4.  Subscribe via email
My issue is I can't hide a menu voice to registered users. I created a "ghost" level access, but megamenu does not allow me to select it. My idea is to display a "Login" menu voice to "only visitors" users and a "Account" menu voice to registered users. But I can not do it with megamenu. The only access level are "Special", "Registered" and "Public".
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Solved.
Reading the code in plugins/system/t3/includes/admin/megamenu.php


$query->where('a.id in (1,2,3) or a.title = ' . $db->quote('Guest')); //we only support Public, Registered, Special, Guest



I noticed that for displaying "guest" ACL items in menu, I MUST create a new access level and a new user group called "Guest". Other names are not allowed: it's not trivial :D

Greetings
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Daniele,

Great to see it work for you now. I just want to add some more info related to the topic and hope it help you.

It likely belongs to Joomla core. Megamenu just supports the way menu items are displayed. For access level, it's operated by Joomla. If you want to hide Menu item A for visitor, just set "Registered" in the "Access" field. Once done, in front-page, only registered user (user login to your site) will see the menu item A. In Megamenu setting panel, you can see the access setting but it's for filtering purpose and build megamenu for each menu access level. For example, you can build megamenu for Registered access menu items that is different from Public access menu items.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Daniele,

Great to see it work for you now. I just want to add some more info related to the topic and hope it help you.

It likely belongs to Joomla core. Megamenu just supports the way menu items are displayed. For access level, it's operated by Joomla. If you want to hide Menu item A for visitor, just set "Registered" in the "Access" field. Once done, in front-page, only registered user (user login to your site) will see the menu item A. In Megamenu setting panel, you can see the access setting but it's for filtering purpose and build megamenu for each menu access level. For example, you can build megamenu for Registered access menu items that is different from Public access menu items.

Gardner.

i'm having a problem with this. i hava guest level and a registered level for access. mega menu shows those two fine. But i do have another level called "Team member" which has access to more things than registered users. But the team member acccess control doesn't show up for megamenu even though it shows up for joomla.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi again,

Please pm me your site url, admin account, I need to check the issue on your site, the user group setting, megamenu configuration, etc to figure out the problem.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.