Buttns for - show all, show assigned, show completed etc. |
10/11/2012 4:28:21 AM |
PHPRunner General questions | |
I
Ian_Emerald author
Hi, |
|
C
|
cgphp 10/11/2012 |
You need a combination of sessions (http://php.net/manual/en/reserved.variables.session.php), buttons (http://xlinesoft.com/phprunner/docs/inserting_button.htm) and the "Before sql query" event (http://xlinesoft.com/phprunner/docs/before_sql_query.htm). |
I
|
Ian_Emerald author 10/11/2012 |
I was hoping there might be a 'I have changed the query please re-run and reload' command to go with the 'changeWhere' commands. Afterall what use is changing the query without one? |
![]() |
Sergey Kornilov admin 10/11/2012 |
I believe there is a simpler way to do that. Simply point each button to one of search results pages. Run a search first using advanced search or a search panel. Copy and paste each search results URL into each button ClientBefore code. Here is example of redirect in ClientBefore event: location.href="http://cnn.com"; |