Export XLS broken in PHP 4
pelicani - February 29, 2008 - 19:09
| Project: | Signup Status |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
Can you add an export feature for and Excel file?
Would fit nicely on the report page next to the html output.

#1
Yes, this would be dreamy
#2
It is already possible to export a CSV from both the signup roster for a node and from the signup log - does the output fit your requirements?
#3
#4
Well, I'm kind of stuck because my ISP is using PHP 4.x so I can't use it.
#5
CSV would work just fine.
I don't see any options for exporting CSV, what am I missing.
I am running PHP4 as well
#6
Ah, I see now, after searching the module for CSV.
The module is using a function specific to PHP 5.
hmmm.
#7
A coworker pointed me to a function written in php4 that will replace the php5 function (fputcsv) if it does not exists. If you have to use php4, this alternative works just fine. check it out here, http://us.php.net/manual/en/function.fputcsv.php#77866
#8
Thanks for the patch. If someone will independently verify that this works, I'll get it into the module.
#9
Glad you are ok with this idea.
Felt a bit left out only being able to run php 4.
This function was a nice find.
Technically, I didn't write the function.
I just copied and pasted the function, then rolled the patch.
So I could be considered the independent tester for this approach.
Right?
If you can run the patch and confirm it is solid.
I can confirm the php4 function works.
#10
#11
#12
This feature doesn't exist in the D6 version anymore. Not sure what needs to happen here, but there's certainly no RTBC patch for 6.x-1.x-dev at this point. ;)
#13
Hi,
Can anyone please tell me how to export the signup data into PDF /CSV
with regards,
Don Asok