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

file All menu items shown to public

More
4 years 11 months ago #37569 by Hans de Jong
I just bought and installed JUX Easy Mega Menu. Real easy, my compliments.

One thing I don't like and think should be altered, is that the mega menu shows all menu and submenu items as public, even when they are restricted to a usergroup.

As a short-cut, I set these non-public menu items to no display in the module, and used my old menu module to give access to the linked pages.

Can you look into this problem and give a solution?

Hans de Jong

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

More
4 years 11 months ago - 4 years 11 months ago #37572 by HaiND
Hi
Sorry for the late reply, we have 1 holiday weekend
Thank you for feedback us
I see you have a low rating on JED about the product, I hope you can fix it, with your problem I think there's a little conflict and I will definitely fix it for you, just I just had a weekend and now I will check it for you
You can provide information login back-end and I will check and fix the problem for you
Thanks

Best Regards
--HaiND--
Last edit: 4 years 11 months ago by HaiND.

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

More
4 years 11 months ago #37580 by Hans de Jong
Thank you for your offer to help me. I hope we can solve the problem without having to give you access to the backend of the website.

As far as I can see the problem is that the module Easy Mega Menu doesn't seem to follow the Joomla ACL (Acces and Control List) and is showing menu items which should only be visible to certain registered user groups .

The original Joomla menu module and the GrueMenu module I used earlier don't show these menu items.

Let me give an example:

A public visitor should be able to see the following menu items

Home
News
About
Member area (only a login page is shown)

A registered user should see, after logging in:

Home
News
About
Member area (log out page)
- member documents

An administrator should be able to see, after logging in

Home
News
About
Member area
- member documents
- enter news

As I stated, with Easy Mege Menu a public visitor can see all these menu items at the moment. When he clicks on one of the restricted menu items, he will get an error page.

I know how to set these menu items to 'No display' but it is not a good solution, as the items can't be seen by the members nor the administrators. I am sure I can find a work-around, eg by creating some articles, only visible for the members and adminsitratiors with links to the restricted content.

When I've missed something, please let me know.

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

More
4 years 11 months ago #37584 by HaiND
Hi
I remember fixing the problem and updating it but not understanding why it happened to you, I will guide you to fix it again.
in file: ...\modules\mod_jux_easy_megamenu\includes\menu\menu.php

step1:
at line 82
$access= $user->groups;
edit:
$access= $user->groups;$groups = implode(',', $user->getAuthorisedViewLevels());

step2:
at line from 89 to line 91:
if(isset($access[0]) && $access[0] == '9' ){
$query->where(' m.access != 2');
}
edit:
if (!$user->authorise('core.admin',1)) {
$query->where('m.access IN ('.$groups.')');
}

Hope it will help you
Thanks

Best Regards
--HaiND--

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

More
4 years 11 months ago #37587 by Hans de Jong
Thanks for your swift answer. The editing cured this problem!

I found another problem, but I will address this in another post.

Best wishes,

Hans de Jong

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

More
4 years 11 months ago - 4 years 11 months ago #37590 by HaiND
Hi
If still have problem, please contact us, pleased to assist you
I still see your bad review on JED, you can delete it for me
As I said, there may have been some minor conflicts and problems and I tried to fix it and make you satisfied.
So, you can help you delete review on JED, because it affects a lot of product development
Hope you understand and look forward to receiving sympathy
Thanks

Best Regards
--HaiND--
Last edit: 4 years 11 months ago by HaiND.

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

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