J
J
JonSilver2018-05-14 14:05:01
1C-Bitrix
JonSilver, 2018-05-14 14:05:01

How to add new positions to the information block?

I added two new fields
5af96c742c94a477993939.jpeg
here they appeared and I filled them out
5af96c7c8387f459322017.jpeg
but the information is not displayed on the page
5af96c8c13d45558986874.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ivanov, 2018-05-16
@ZZiliST

Now you need to select these properties in the component settings. And then output by adding the output in the component template ( template.php )
if this is a component detail page then:

echo $arResult["PROPERTIES"]["TEL_1"]["VALUE"]
echo $arResult["PROPERTIES"]["SHEMAP"]["VALUE"]

if it is a list then
echo $arItem["PROPERTIES"]["TEL_1"]["VALUE"]
echo $arItem["PROPERTIES"]["SHEMAP"]["VALUE"]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question