This topic is locked

New events for export

4/9/2008 7:22:30 AM
PHPRunner General questions
S
steveh author

At present we have to manually edit a number of the export files after we build, would it be possible to add events in a future version to provide a complete override for the various export functions?
This would then save the manual work after a build (maybe this could be extended to apply to a lot more of the system as well, similar to the custom sql?

J
Jane 4/9/2008

Steve,
I recommend you to change source files to redefine export functions.

S
steveh author 4/9/2008

It's not a generic change unfortunately, the standard export is fine, but for about 10 tables we need to add some custom code to format into a single line.

A
alang 4/9/2008

Can't you use the existing "Before SQL query" export event?

S
steveh author 4/10/2008

I guess I could, I'd need to duplciate all the code post that and then exit, but that would at least remove the manual edits.
Good thinking that man!
The other Idea I had was to amend the templates to check for a user include file and include that, then call routines in that if they existed, that might be a better way for me to do this, I'm going to try that when I'm back in the office.