Lisää kirjoituksia netistä.

Etsi blogista

File upload for zem_contact_reborn


With this plugin a website using Textpattern can allow users to upload files, like images or PDF’s. My plugin connects with zem_contact_reborn so that user can submit the form and at the same time get an file saved to the Web server (more precisely to the Textpattern files folder). It’s achieved simply by using a tag like this: <txp:kuo_upload_zreborn required="1" />, which is used inside zem_contact_form.

Code example

<txp:zem_contact to="myemail@mysite.com">
<txp:zem_contact_text label="Your name" /><br />
<txp:zem_contact_email label="Your email" /><br />
<txp:kuo_upload_zreborn required="1" extensions="images"
upload_limit="medium" email_file_link="1" />
<txp:zem_contact_submit label="Send your photo" />

About the author

"File upload for zem_contact_reborn" is rated 7 out of 10. That rating was formed of 1 vote(s). Kuopassa.net´s blog includes a total of 1292 posts including this one. If you´d like to link to this page from a blog or a forum, please use this permalink. Tag or tags: .

Tsekkaa myös minkälaisia valokuvia teen: www.pjti.fi