This topic is locked

Change Generation Defaults

1/6/2008 8:41:49 AM
PHPRunner General questions
jpedwardspost author

Hi,
Is there a way to make phprunner automatically generate using the simple datepicker. I prefer this to the one that uses 3boxes.
Also, I have an "include_once myfunctions.php ;" line which I insert into commonfunctions.php after every generation run. Is there a way of changing the defaults so that this line is always included.
Also, I tried using an "include_once someother.php" in the Events Tab -> 'Add New Page - Before Record Add ' instead of but it errored. Is is possible to use 'include' instead of entering php script directly into the Events.
Thanks,

JP

jpedwardspost author 1/9/2008

I have solved part of my original query
"Also, I have an "include_once myfunctions.php ;" line which I insert into commonfunctions.php after every generation run. Is there a way of changing the defaults so that this line is always included."
The answer to this is to go to this directory "Program Files\PHPRunner4.1\source\include" and open the file commonfuntions.php and make the changes. They will then always appear in your generated commonfuntions.php.
Now if only I could find a way of changing the default datepicker.
JP

J
Jane 1/11/2008

Hi,
unfortunately you can't change generation options in the PHPRunner.

You need to open "Edit as" settings dialog and select required options for all fields.