J
J
Jupiter Max2018-11-12 18:32:04
1C-Bitrix
Jupiter Max, 2018-11-12 18:32:04

What's the best way to organize your calendar?

Hello.
Actually interested in the opinion of colleagues. What is the best way to organize such a calendar on Bitrix? By clicking on the number, events that will be on that date should be loaded.
Thanks in advance! :)
5be99ce640322871567954.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-11-13
Madzhugin @Suntechnic

The calendar, like the schedule (this is already a consequence), cannot be better organized. They can only be organized worse, really badly, or worse than ever, simply due to the architectural features of the calendar. Well, this is the lyrics of course ...
In fact - it's better than nothing. Literally. If I understand the question correctly, then you want to ask about how to represent calendar dates at the data level - the answer is no way. Generate a calendar (dates) directly in the component template, and events (which, as I understand it, will be IB elements) simply put the date in the date time field. When clicking on a number, apply a filter by date to the IB of events and all cases.

A
Alexey, 2018-11-14
@AlexeyCaTHaR

I agree with Alexander Madzhugin . Do not store anything in the template. By clicking on a day, make a request, and there is already its own selection from where you need it with caching by day.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question