Hey guys, this is my first attempt at a module. It's still under construction, and doesn't quite follow all of the CMSMS module conventions YET.
However, if you are looking for something to take all of your entered form information and export it to a .CSV file, this might help you. You have to have at least 1 form setup and have records being saved to the database in order to use this. This module will also allow you to view entered form information and sort the results by any column of information you want. (Still working on adding a search)
Right now the code seems to be extremely inefficient. If there's any interest in this module I might try to clean it up some.
You can download it here:
http://www.imageworksstudio.com/uploads ... wer-02.zip
Form to .CSV file exporter
-
- Forum Members
- Posts: 75
- Joined: Mon Apr 23, 2007 3:51 pm
- Location: Northern Virginia, United States
Re: Form to .CSV file exporter
I would find such a module very useful. Will try out your current version soon. Thanks for sharing.
Last edited by Greg on Wed May 09, 2007 2:43 am, edited 1 time in total.
Greg
Re: Form to .CSV file exporter
Thank you very much for your commitment.
Maybe you wanna open a project here
http://dev.cmsmadesimple.org/
Found this in formviewer.module.php
There's a easier solution like this
It checks if CGExtensions module is installed. If not you cannot install formviewer
and you got a missing message in modules view (admin panel).
Maybe you wanna open a project here

http://dev.cmsmadesimple.org/
Please make a look at skeleton module, which helps to create a module.savagekabbage wrote: Right now the code seems to be extremely inefficient. If there's any interest in this module I might try to clean it up some.
Found this in formviewer.module.php
Code: Select all
$cgextensions = cms_join_path($gCms->config['root_path'],'modules','CGExtensions','CGExtensions.module.php');
if( !is_readable( $cgextensions ) )
{
echo '<h1><font color="red">ERROR: The CGExtensions module could not be found.</font></h1>';
return;
}
require_once(cms_join_path($gCms->config['root_path'],'modules',
'CGExtensions','CGExtensions.module.php'));
Code: Select all
function GetDependencies()
{
return array('CGExtensions'=>'1.0.2');
}

Last edited by cyberman on Wed May 09, 2007 7:22 am, edited 1 time in total.
-
- Forum Members
- Posts: 75
- Joined: Mon Apr 23, 2007 3:51 pm
- Location: Northern Virginia, United States
Re: Form to .CSV file exporter
I might consider it, I just haven't yet, because my module is very similar to the Form Browser and inefficient.cyberman wrote: Thank you very much for your commitment.
Maybe you wanna open a project here
http://dev.cmsmadesimple.org/
Ah, I see. I think I just copied that part from the Questions module. Honestly, I don't even know if the module needs CGExtensionscyberman wrote: There's a easier solution like this
It checks if CGExtensions module is installed. If not you cannot install formviewerCode: Select all
function GetDependencies() { return array('CGExtensions'=>'1.0.2'); }
and you got a missing message in modules view (admin panel).
