A
A
Alex Sokol2017-09-04 23:11:45
1C-Bitrix
Alex Sokol, 2017-09-04 23:11:45

How in the property binding to the user in the pop-up window were users from a specific group,?

How in the property binding to the user in the pop-up window were users from a specific group,?
It means in the form of editing an element

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2017-09-05
@gromdron

1) Move /bitrix/admin/user_search.php (source code, not a link) somewhere in /local/tools/
2) Make a class that inherits from CIBlockPropertyUserID ( /bitrix/modules/main/tools/prop_userid.php )
3) Override the GetUserTypeDescription and (GetPropertyFieldHtml or FindUserIDNew) methods
4) Edit your group in the new file from paragraph 1.
This is a fix option.
Ideally: in your CIBlockPropertyUserID heir, add a user group as a parameter, complete all requests with this group, and in your user_search.php file, add. check. So it turns out already an excellent property.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question