A
A
Alexander Ivanov2016-03-30 12:49:30
1C-Bitrix
Alexander Ivanov, 2016-03-30 12:49:30

How to display PICTURE image in bitrix:news.calendar?

There is a standard component
dev.1c-bitrix.ru/user_help/content/iblock/componen...
she is not there?
var_dump($arResult):

[1]=>
      array(4) {
        ["day"]=>
        int(1)
        ["td_class"]=>
        string(14) "NewsCalDefault"
        ["tday_class"]=>
        string(10) "NewsCalDay"
        ["events"]=>
        array(1) {
          [0]=>
          array(5) {
            ["time"]=>
            string(11) "18:01 "
            ["url"]=>
            string(21) "/calendar/events/dsdssddsds/"
            ["title"]=>
            string(50) "Да будет свет сказал ..."
            ["preview"]=>
            string(153) "Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum явл..."
            ["DATE_ACTIVE_FROM"]=>
            string(19) "01.03.2016 18:01:00"
          }
        }
      }

--------------------
There is also an option to display the News List component, and somehow combine these two components so that when you click on the month, only dates of the current month.
But it's not easy either.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rad1calDreamer, 2016-03-30
@cimonlebedev

in result_modifier pull out image by news id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question