Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-14 20:23:02

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Contact form with file attachment

I have created a contact form with zem_contact_reborn but I need create an attachment input so it can be send to the “to” parameter.

I have requested for sed_afu twice, no response. I have tried mem_form, I managed to make one but it doesnt work, lack of documentation.

I understand that there are no excellent plugin for that kind of job, can anyone tell me how to achieve this. I have looked up uploadify but I have no clue how to implement with PHP, my knowledge with php are zilch.

Can anyone tell me from their experience and small tutorial how to do it.

I have looked all over the forums, nothing :’(

Any help MUCH APPRECIATED

Thanx


<txp:way_too_cool />

Offline

#2 2011-02-14 22:49:44

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Contact form with file attachment

Can’t judge whether this is viable for you: I succeeded in adding an uploaded file from Txp’s files folder to the database by entering its name into the URL field in the following manner:

sitename.tld/textpattern/index.php?event=file&step=file_create&filename=YOUR_FILE.EXT&create=go

makss is developing a cron plugin, so maybe some clever combination with a jQuery upload plugin can help (soonish)?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2011-02-15 06:10:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,257
Website GitHub Mastodon Twitter

Re: Contact form with file attachment

Dimitri wrote:

I have requested for sed_afu twice, no response.

Check your mail:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2011-02-15 06:59:38

Dimitri
Member
From: Johannesburg
Registered: 2010-10-31
Posts: 129

Re: Contact form with file attachment

Thanx re, check my reply ;)


<txp:way_too_cool />

Offline

Board footer

Powered by FluxBB