N
N
ngapp2019-10-08 01:58:52
1C-Bitrix
ngapp, 2019-10-08 01:58:52

How to display the property value of this Bitrix element?

Please tell me how to display the value of the COORDINATES_TAGS field in the template for each element?
Infoblock ID 14
Well, or how to get for each element of the infoblock to get its field value from the multiple list
5d9bc3141aeee079599352.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2019-10-08
@hypnogaja

You have some kind of confusion in the question.
If we are talking about getting the property value for EVERY element, then you need to either connect the element list component in the template (usually news.list), or request them via the API ( CIBlockElement::GetList method , there are examples below)
If you need the above described to do with the multiple property of the elements, then you still need to transfer the storage location of the element properties to a separate table (this is done in the settings of a specific infoblock)
If we are talking about the detailed page of the element and you need to add the output of this property there, then again there are 2 options:
1. Add its output in the settings of the component that displays a detailed page (news, news.detail, catalog, catalog.element) and check in template.php whether the rule is hardcoded to output only specific properties and ignore the rest
2. Open result_modifier. php (which lies next to your template.php) and request this property through the API there (this option is more complicated than the first one)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question