This topic is locked

Events Template

1/13/2013 7:44:07 AM
PHPRunner General questions
J
jackheitzer@gmail.com author

Hi all,
PHPrunner 6.2 (14199)
I tried the events template and incorporated it in my project. I found out that in "evevents_list.php" where you can search by month, this is not displayed correctly. When you pick may 2007 eg. it shows events from may 2 to june 2nd. So june 1st is included in the list of may. In other words; the first of each month is listed in the previous month. Can anyone reproduce this? Or... What did I do wrong?
Thanks,
Jack

Sergey Kornilov admin 1/13/2013

Jack,
if you need more help with this post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Make sure to supply instructions on reproducing the issue.

J
jackheitzer@gmail.com author 1/13/2013



Jack,
if you need more help with this post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Make sure to supply instructions on reproducing the issue.


Sergey,
It seems the fault is in the events template. I think you can easily reproduce it yourself:
I've added events on may 1st 2007 and june 1st 2007. These events show up in the "search by month" list below in the search box on "evevents_list.php". However only one event is listed in the page (as a result). The "june 1st 2007" event now is listed in the "may 2007" list.
Can you reproduce this?
Best regards,
Jack

J
jackheitzer@gmail.com author 1/17/2013



Sergey,
It seems the fault is in the events template. I think you can easily reproduce it yourself:
I've added events on may 1st 2007 and june 1st 2007. These events show up in the "search by month" list below in the search box on "evevents_list.php". However only one event is listed in the page (as a result). The "june 1st 2007" event now is listed in the "may 2007" list.
Can you reproduce this?
Best regards,
Jack


Hi all,
I found where the "bug" in the event template is:
Evevents-> List page -> before display (line 39):
" $message=$message . "&nbsp;&nbsp;&nbsp;<a href=evevents_list.php?a=integrated&ctlSearchFor=&simpleSrchFieldsComboOpt=&simpleSrchTypeComboNot=&simpleSrchTypeComboOpt=&criteria=and&type1=date13&value11=" . $date2 . "&field1=FromDate&option1=More+than&not1=on&type2=date13&value21=" . $date1 . "&field2=FromDate&option2=More+than&not2=>";"
In the search command (as listed above) it says: "not more than $date2" where it should say "less than $date2" AND it says "more than $date1" where it should say "more than or equal to $date1".
I don't know how to get the synrax right. Who does?
Thanks,
Jack

J
jackheitzer@gmail.com author 1/30/2013



Hi all,
I found where the "bug" in the event template is:
Evevents-> List page -> before display (line 39):
" $message=$message . "&nbsp;&nbsp;&nbsp;<a href=evevents_list.php?a=integrated&ctlSearchFor=&simpleSrchFieldsComboOpt=&simpleSrchTypeComboNot=&simpleSrchTypeComboOpt=&criteria=and&type1=date13&value11=" . $date2 . "&field1=FromDate&option1=More+than&not1=on&type2=date13&value21=" . $date1 . "&field2=FromDate&option2=More+than&not2=>";"
In the search command (as listed above) it says: "not more than $date2" where it should say "less than $date2" AND it says "more than $date1" where it should say "more than or equal to $date1".
I don't know how to get the synrax right. Who does?
Thanks,
Jack


Does anyone know the right syntax?
All the best,
Jack.