Calendar Data Restricted to User |
9/9/2009 11:32:27 AM |
PHPRunner General questions | |
S
salus1 authorDevClub member
Does anyone know how to configure the Calendar template so that users can only see their own data? The security seems to work differently from regular PHPRunner templates. |
|
![]() |
Sergey Kornilov admin 9/9/2009 |
Calendar template is a bit more complicated than regular projects. Here are some suggestions.
$strSQL = "select DateField from calcalendar where Recurrence=0 and Year(DateField)=".$yr." and Month(DateField)=".$mon." and (ownerid=".$_SESSION["OwnerID"].") group by DateField"; |