Kuopassa.net

Lisää kirjoituksia netistä.

Etsi blogista

Jos harkitset liittymistä, käytä alennuskoodia 00033583 niin saat 25€ pois palvelumaksuista. Hyödynnä alekoodi heti, sillä en tiedä kuinka kauan tuo kampanja kestää, mutta se vaikuttaa olevan voimassa ainakin 13.12.

File upload for zem_contact_reborn

Written

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" />
</txp:zem_contact>

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 1216 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