I
I
Ivan Eremin2017-07-24 15:11:56
1C-Bitrix
Ivan Eremin, 2017-07-24 15:11:56

How to display the creation date of a calendar event?

Section Calendar. View the event in a pop-up window. In the "Advanced" tab, you need to display the date the event was created.
calendar.event.view
template.php

<?if (!empty($event['~DESCRIPTION'])):?>
  <div class="bx-cal-view-description">
    <div class="feed-cal-view-desc-title"><?= GetMessage('EC_T_DESC')?>:</div>
    <div class="bx-cal-view-desc-cont"><?= htmlspecialcharsback($event['~DESCRIPTION'])?></div>
<div class="bx-cal-view-desc-cont"><?= htmlspecialcharsback($event['DATE_CREATE'])?></div>
  </div>
<?endif;?>

Where is the right place to append the output of DATE_CREATE ?
It's on my main tab :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Eremin, 2017-07-24
@divanus

I asked myself. Answered myself :)
1dd921fde05c434b83c8821788baac81.png00dfa9b5311547d190b2dc6f6890a21a.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question