J
J
Jupiter Max2020-09-23 12:32:09
1C-Bitrix
Jupiter Max, 2020-09-23 12:32:09

What is the best way to display the required banner from the infoblock in the component template?

Hello.

On my main page, sections with pictures are displayed through section: list, the last element in the wrapper should be a banner, which is created in a separate info block (just an advertising banner).

What is the best way to organize its output in a component template? As I understand it, using getList is the wrong solution.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
scottparker, 2020-09-23
@scottparker

in result_modifier load the data you need, and save it in arResult, output in template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question