This topic is locked
[SOLVED]

 Showing current month (list)

4/19/2011 2:31:45 PM
PHPRunner General questions
author

In the visual editor I added this button
<INPUT class=button onclick="window.open('Kalender_list.php?showrecords=Maand','iframe')" value="Toon huidige maand" type=button>
However, it only works when I pushed "Show all records" and not when I selected another month by searching (instead of the current)
Any ideas?

Sergey Kornilov admin 4/19/2011

Not really sure what this button is supposed to do. I guess you need to elaborate.

500491 4/20/2011



Not really sure what this button is supposed to do. I guess you need to elaborate.


On opening it shows the "activities" in teh current month ( in the case april), you can also choose another month by the selectbox "Kies maand"

When you e.g. selected November, the button "Toon huidige maand" (Show current month) does not work.
But when you push the "Toon alles"(Show all) button, and then the "Toon huidige maand" button it works fine
In other words, when I have selected a different month as the current, or selected a different monthe by the searchoption, the "Toon huidige maand" button does not work

Sergey Kornilov admin 4/21/2011

I guess there is an logical error in your code somewhere.
When you process "showrecords=Maand" parameter make sure you clear all other search parameters.

500492 4/22/2011

Hi Sergey,
Pretty sure you are correct, next question....how do I clear all search criteria before running this buttoncode

<INPUT class=button onclick="window.open('Kalender_list.php?showrecords=Maand','iframe')" value="Toon huidige maand" type=button>

Sergey Kornilov admin 4/22/2011

This needs to be done in your server side code where you process showrecords=Maand parameter.
If you need help with coding 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.