A
A
Alexander Ivanov2016-07-07 16:37:09
PHP
Alexander Ivanov, 2016-07-07 16:37:09

How to add custom field to bitrix:main.profile?

The component itself:
<?$APPLICATION->IncludeComponent("bitrix:main.profile","",Array(
"USER_PROPERTY_NAME" => "",
"SET_TITLE" => "Y",
"AJAX_MODE" => "N",
"USER_PROPERTY" => Array(
// properties here
),
"SEND_INFO" => "Y",
"CHECK_RIGHTS" => "Y",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N"
)
);?>
In general, I did not find where properties are added to this component in Bitrix.
088e38d35d034dda85226403a73926b7.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ivanov, 2016-07-07
@cimonlebedev

In my case PROFILE or USER
And a tutorial on working with custom fields
https://www.youtube.com/watch?v=OsmfPWc24X0

A
Alexey Emelyanov, 2016-07-07
@babarun

Have you added additional properties for the user?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question