Calendar Planner for MODX Revolution

    The other day there was a new version of MODX Revolution - 2.1-pl, and I decided to mention this business by writing a new extension.

    At first I just wanted to adapt my old development for Revo, for the internal site of one organization, but it turned out that I rewrote everything again.

    The whole frontend takes on a wonderful plugin for jquery fullCalendar . It has only one drawback - it does not know how to work with the server. That is, create / modify events. Therefore, the entire calendar backend had to be written independently on the MODX api.



    At the moment, the snippet can do the following:
    • Create / Modify / Delete Events
    • Events can be dragged to another time / day
    • You can create personal and general tasks (only you will see personal tasks)
    • You can mark the completion of the assignment (after which it cannot be dragged)
    • Show only personal, only general or all tasks

    Thus, a simple scheduler for the organization is obtained, in which you can write your own notes as well as public ones.


    The installation is normal through MODX package management. There are only 3 settings so far: There will be suggestions in the comments - I will add more. Are used:
    &calendarTpl - Шаблон самого календаря
    &editEventTpl - Шаблон оформления окна создания/изменения события
    &viewEventTpl - Шаблон всплывающей подсказки для события





    If you do not have these plugins connected, you will need to uncomment them in the tpl.Calendar chunk .

    Important. At the first start after installation, you need to uncomment the last line in the Calendar snippet . After loading the calendar page once, comment back out. This line creates the necessary table in the database for storing events.

    For switching to show only your own / only common tasks to work, the MODX session_handler_class parameter in the admin panel should be empty. Change in the admin panel, in the engine settings.


    Styles can be changed in /assets/components/calendar/css/calendar.css .

    Download installation package for MODX Revolution

    Also popular now: