Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

check Easy Mega Menu - permission on menu items

More
5 years 10 months ago - 5 years 10 months ago #24761 by blue_Shift
I have two menu items with ACL access set to 'Registered' - but in JUX Easy Mega Menu, they appear as public. How do I make these items go away for unregistered visitors?

Other than that, this is my first time out with JUX EMM, and it is fabulous!
Last edit: 5 years 10 months ago by blue_Shift. Reason: better English

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

More
5 years 10 months ago #24775 by HaiND
Hi David Maurand
Thank you for feedback us
You can send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--

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

More
5 years 10 months ago #24792 by blue_Shift
Credentials sent.

I have removed one, 'Log out,' to be a submenu item to the 'My Account' top level item, which should only appear after successful login

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

More
5 years 10 months ago #24838 by HaiND
HI again
I fix it for you,
in file: ...\modules\mod_jux_easy_megamenu\includes\menu\menu.php

at line 78
$user = JFactory::getUser();
edit:
$user = JFactory::getUser();$access= $user->groups;

at line 84
->order('m.lft ASC');
edit:
->order('m.lft ASC');
if(isset($access[0]) && $access[0] == '9' ){
$query->where(' m.access != 2');
}

Hope it will help you
Thanks

Best Regards
--HaiND--

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

More
5 years 10 months ago - 5 years 10 months ago #24868 by blue_Shift
Is this an override? I want to be sure future updates don't overwrite your additional code - of course, I have this post to refer to, just in case. :)
Last edit: 5 years 10 months ago by blue_Shift. Reason: add 'resolved' icon

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

More
5 years 10 months ago #24883 by HaiND
Hi again
We will check issue 1 more carefully
and will update soon
Thanks

Best Regards
--HaiND--

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

Moderators: Jackie
Time to create page: 0.126 seconds
Powered by Kunena Forum