Hide System menu

  • Posts: 23
  • Thank you received: 1
3 years 10 months ago #320974

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.2

Hello, I need to hide the System menu from a group of users, but even when is empty, is still visible in the menu.
How can I hide it?
thank you

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
3 years 10 months ago #320978

Hi,

Go in the menu Display>Views and edit the file "default.php of the view "menu" for your backend template.
There, add the line:

if(!empty($child['url']))
before the line:
$dropdown = true;
and that should normally do it.
Please let us know how it goes as we will include that modification in the next version of HikaShop.

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

  • Posts: 23
  • Thank you received: 1
3 years 10 months ago #321060

The dropdown is unavailable but the item "System" is still visible.

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
3 years 10 months ago #321087

Hi,

I did a test with my own website on local with that patch and it works fine:
monosnap.com/file/aW0yG3jvGCDSGjrri0sqemhaPp5syb
So I can only think that the current user you're using still have access to the HikaShop configuration.
Please check your ACLs.

The following user(s) said Thank You: plnabais

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

  • Posts: 23
  • Thank you received: 1
3 years 10 months ago #321147

Yes, it works, I only have the view disabled but is necessary disable the manage, after that its works fine.
Thank you

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

Time to create page: 0.080 seconds
Powered by Kunena Forum