Answer the question
In order to leave comments, you need to log in
How to set permissions for a link?
Good day everyone.
There are two links, one should be shown to everyone, except for the group "Wholesale buyers" id 11, and the second one, on the contrary, only to this group. Tell me how to implement this?
Answer the question
In order to leave comments, you need to log in
For both cases, the static method \CSite::InGroup([11]) will help you , as well as the condition for displaying the menu item (if they are of course in the menu)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question