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

remtheory - March 3, 2008 - 14:49

Yes, this would be dreamy

#2

jrbeeman - March 4, 2008 - 21:41

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

jrbeeman - March 4, 2008 - 21:41
Status:active» postponed (maintainer needs more info)

#4

remtheory - March 7, 2008 - 00:44

Well, I'm kind of stuck because my ISP is using PHP 4.x so I can't use it.

#5

pelicani - March 17, 2008 - 22:00

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

pelicani - March 19, 2008 - 04:32
Status:postponed (maintainer needs more info)» active

Ah, I see now, after searching the module for CSV.
The module is using a function specific to PHP 5.
hmmm.

#7

pelicani - March 19, 2008 - 14:32
Status:active» needs review

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

AttachmentSize
signup_status_withphp4csvoutput.patch 1.39 KB

#8

jrbeeman - March 25, 2008 - 21:15

Thanks for the patch. If someone will independently verify that this works, I'll get it into the module.

#9

pelicani - March 28, 2008 - 00:43
Status:needs review» reviewed & tested by the community

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

jrbeeman - November 19, 2008 - 16:24
Title:Export XLS» Export XLS broken in PHP 4

#11

jrbeeman - November 19, 2008 - 19:48
Version:5.x-1.x-dev» 6.x-1.x-dev

#12

dww - August 23, 2009 - 17:42
Status:reviewed & tested by the community» needs work

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

donkasok - August 26, 2009 - 07:49

Hi,

Can anyone please tell me how to export the signup data into PDF /CSV

with regards,
Don Asok

 
 

Drupal is a registered trademark of Dries Buytaert.