I'm using mycalendar extra to add events by user, the calendar is correctly showed
[[!myCalendar?
&defaultView=`month`
&instance=`[[+company]][[+id]]`
&company=`[[+company]]`
]]
Now, I want to to see a list of events for the user logged in, that means if I logged in with my username, I just see my own events. I'm not sure how myCalendar extra is doing the relation with the user, cos' in the sql table there are id, title, description, start, end, all_day, properties, and not an id_user
I have this, with this code I can see all the events but not by user.
<h2>List of events</h2>
[[!pdoResources?
&tpl=`tpl.list_events_invitations`
&loadModels=`mycalendar`
&sortby=`start`
&sortdir=`DESC`
&limit=`5`
]]
My question is, how can I know what events are from which user?
Thanks