Adding a 'download' link

yas - February 28, 2008 - 01:29
Project:Import / Export API
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:yas
Status:needs work
Description

When we want to export data, the data will be shown only in text area. Therefore, we need to copy and paste the exporting data from the text area.

Let me introduce my small patch, which is allows us to make a download file.

Any comments are appreciated.

AttachmentSize
download_link_0.patch1.67 KB

#1

cha0s - July 7, 2009 - 07:12

I definitely like the idea, but I think the way this is handled needs to be redone. That is, I think we should perhaps provide a central API for each engine to specify what it returns. I could make an engine that exported to a remote server for instance, and would have no need to have a textarea, or a download button, if I wanted to return a link to the data instead...

What do you think?

#2

earnie - July 7, 2009 - 11:51
Version:5.x-1.1» HEAD
Status:needs review» needs work

It is one of the improvements but this would go to the next version so the patch would need to fit in HEAD.

#3

earnie - October 12, 2009 - 14:50
Version:HEAD» 6.x-1.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.