A
A
Alexander Ivanov2016-08-01 12:57:33
1C-Bitrix
Alexander Ivanov, 2016-08-01 12:57:33

How to display a user's detailed page in Bitrix?

marketplace.1c-bitrix.ru/solutions/ms2dio.mainprof...
marketplace.1c-bitrix.ru/solutions/pixelplus.acomp... - from here I took a piece that allows you to display users by groups
and connected it to
marketplace.1c -bitrix.ru/solutions/dev2fun.userlist - I thought that he would succeed, but in fact the component is a little unfinished and the detailed one does not work.
the derivation of the path for the detailed one is half implemented in it.
those. #ID# #LOGIN# #Something_own# substitution works, but the dev2fun.userlist module itself doesn't display the detailed user.
I fiddled a bit with template substitution by ID and sorting, and this is how I concluded a detailed user. Now the task has only become more difficult. because there were problems with the further implementation of filtering.
In general, after all these troubles, I came across the following component:

<?$APPLICATION->IncludeComponent("bitrix:rating.vote","",
      Array(
      "ENTITY_TYPE_ID" => "FORUM_POST",
      "ENTITY_ID" => "1023",
      "OWNER_ID" => "4",
      "USER_HAS_VOTED" => "Y",
      "TOTAL_VOTES" => "18",
      "TOTAL_POSITIVE_VOTES" => "12",
      "TOTAL_NEGATIVE_VOTES" => "6",
      "TOTAL_VALUE" => "6",
      "PATH_TO_USER_PROFILE" => "/people/user/#USER_ID#/", // получается что можно из стандарта извлечь пользователя по ID
      ),
      null,
      array("HIDE_ICONS" => "Y")
  );?>

Apparently "PATH_TO_USER_PROFILE" => "/people/user/#USER_ID#/" - and is a detailed output of the user.
ESSENCE
Which component is responsible for the user (/people/user/#USER_ID#/), and where can I see it in typical Bitrix examples?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Alexandrov, 2016-08-01
@alexyarik

bitrix:main.profile - if we are talking about a profile, you can see it in the personal account of the online store on Small Business

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question