S
S
SeiLove2016-02-06 22:45:37
1C-Bitrix
SeiLove, 2016-02-06 22:45:37

How to receive and display news from the bitrix infoblock using a self-written component?

Hello, I'm trying to display news from the infoblock, but I get only text output, but I also need an image. I don’t know from which side to approach the issue. new to web development.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nathan Stark, 2016-02-06
@MattLe

The problem is not entirely clear, isn't news a text?

A
Andrey, 2016-02-07
@reaferon

The infoblock element contains image identifiers in the PREVIEW_PICTURE and DETAIL_PICTURE fields.
By this identifier, you can either display an image
or get the path to it from the root of the site
More details here and here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question