Difference between revisions of "Exporting Data"
From ARK
Line 5: | Line 5: | ||
// EXPORTS | // EXPORTS | ||
//export file location (where ARK exports will be saved - needs to be an absolute path) | //export file location (where ARK exports will be saved - needs to be an absolute path) | ||
− | $export_dir = "C:/ms4w/Apache/htdocs/$ark_dir/tmp"; absolute | + | $export_dir = "C:/ms4w/Apache/htdocs/$ark_dir/tmp"; absolute path on server to save the export file(s) |
$web_export_dir = "$ark_dir/tmp/"; RELATIVE path where the export files(s) are saved. | $web_export_dir = "$ark_dir/tmp/"; RELATIVE path where the export files(s) are saved. | ||
Revision as of 08:51, 5 June 2009
In order to allow your users to use the export functionality of ARK you need to set a few settings in the mod_settings files. An example is here.
You will also need to set up a couple of settings in settings.php, namely:
// EXPORTS //export file location (where ARK exports will be saved - needs to be an absolute path) $export_dir = "C:/ms4w/Apache/htdocs/$ark_dir/tmp"; absolute path on server to save the export file(s) $web_export_dir = "$ark_dir/tmp/"; RELATIVE path where the export files(s) are saved.
If you want to add new export types - then you will need to write handlers for both the export itself (a function called exportCSV() and then a function that handles the elements named elemCSV()). It may be better to get a Developer to do this.