S
S
Senseich2018-02-02 13:36:02
1C-Bitrix
Senseich, 2018-02-02 13:36:02

How to register with your fields on Bitrix?

I'm trying to register on the site, but I need to make my own fields.
For a test, I'm trying out the Custom Registration component.

<?$APPLICATION->IncludeComponent(
  "bitrix:main.register",
  "",
  Array(
    "AUTH" => "Y",
    "REQUIRED_FIELDS" => array("EMAIL","NAME","PERSONAL_MOBILE"),
    "SET_TITLE" => "Y",
    "SHOW_FIELDS" => array("EMAIL","NAME","PERSONAL_MOBILE"),
    "SUCCESS_PAGE" => "",
    "USER_PROPERTY" => array(),
    "USER_PROPERTY_NAME" => "",
    "USE_BACKURL" => "Y"
  )
);?>

But for some reason my page shows Authorization: prntscr.com/i92p7k
It doesn't matter if I'm authorized or not. Tell me how to implement it correctly or where you can read a good guide, except for the Bitrix documentation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2018-02-02
@flx12

most likely there are no rights to view the page or it is forbidden to register yourself in the main module

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question