V
V
Vitaly Gusev2021-10-21 10:22:33
Bitrix24
Vitaly Gusev, 2021-10-21 10:22:33

How to remove some items in the left menu of Bitrix24 and restrict access?

Good afternoon!

Tell me where to dig? How to remove items from the left menu? Not just hide them when they slide down under the "More" section, but so that the user cannot return these sections to himself.
For example, there is a list of approved menu items that we need:
617114e75c55f226660016.jpeg

The rest should be unavailable.

I know how to restrict the rights to these sections, but I didn’t find how to remove them from the menu at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-10-21
@guvijur

There are no mechanisms that would allow this to be done without breaking updates.
The most optimal way we found: direct modification of .top.menu_ext.php in the root of the project.
Go to the end of the file, find:
[CODE]
$aMenuLinks = $arMenuB24;
[/CODE]
Check `$arMenuB24` before it and modify according to your point.
I recommend leaving a loophole and not hiding anything for the admin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question