Private Agenda

Thanks for the great plugin. We have been using it in a large scale and so far no problems. I have customized many parts of it with your help to make it a great academic resource and lab equipments availability calendar. The question; how can I make the agenda view to show only events created by this user while in private extended mode? In other words, agenda lists only where event.readonly = false

Hi.
You may use special filter:

<script>
scheduler.filter_agenda = function(start_date, end_date, event) {
    if (event.readonly == true) return false;
    return true;
}
</script>

This event is blockable and occurs for each event during rendering.
So you may return false from this callback to prevent showing event with readonly == true.
This code may be added into scheduler_include.html file.

By the way, thanks for your feedback :wink: