Tiny Contact Form
Ein ganz einfaches und kleines Kontaktformular.
Einfach in den Einstellungen die Empfänger-Email-Adresse angeben und den Shortcode (siehe readme.txt) an den gewünschten Stellen eintragen. Fertig.
Tiny Contact Form 0.6
Contributors: Tom BraiderDonate link: www.unicef.org
Tags: email, mail, contact, form
Requires at least: 2.7
Tested up to: 2.9.2
Stable tag: 0.6
Little form that allows site visitors to contact you by email.
Description
Use
[TINY-CONTACT-FORM] within any post or page.Add the widget to your sidebar.
Installation
- unzip plugin directory into the
/wp-content/plugins/directory - activate the plugin through the
Pluginsmenu in WordPress - insert
[TINY-CONTACT-FORM]in your page or/and add the widget to your sidebar - check the settings (email, messages, style) in backend
- without widgets use this code to insert the form in your sidebar.
<?php global $tiny_contact_form; if (isset($tiny_contact_form)) echo $tiny_contact_form->showForm(); ?>Frequently Asked Questions
How to style?
- The complete form is surrounded by a
div class="contactform". Tags in FORM: LABEL, INPUT and TEXTAREA. - To change the form style in your sidebar you can use
.widget .contactform(plus tags above) in your templatestyle.css. - Since v0.3 you can use the settings.
Need Help? Find Bug?
read and write comments on plugin pageScreenshots
Arbitrary section
Silent Helper
- Jay Shergill www.pdrater.com
- by: Marcis Gasuns www.fatcow.com
- da: Jonas Thomsen jonasthomsen.com
- de: myself ;)
- es: Jeffrey Borbón www.eljeffto.com
- fr: Jef Blog
- he: Sahar Ben-Attar openit.co.il
- hr, it: Alen Širola www.gloriatours.hr
- hu: MaXX www.novamaxx.hu
Changelog
0.6
- new: set reciever and subject in shortcode [TINY-CONTACT-FORM to="abc@def.hi" suject="Hello"]
- now name and email of the writer are the default "From" data if non "From" given on options page
0.5.2
- new translation: hebrew, thanks Sahar Ben-Attar
0.5.1
- Bugfix: referer on pages with more post was wrong
- Bugfix: PHP4 compatibility, "static" before function deleted
- new translation: Danish, thanks to Jonas Thomsen
0.5
- new: optional captcha
- new: referer (page the mail was sent) in mail
- new translation: France, thanks to Jef Blog
0.4.3
- Bugfix: little change in stylesheet to realy hide the "hidden" fields
0.4.2
- Bugfix: little change in spam check
0.4.1
- new translation: Belorussian, thanks to Marcis Gasuns
0.4
- new: custom widget title and submit button
0.3.3
- new translation: hungarian, thanks MaXX
0.3.2
- new translation: espanol, thanks Jeffrey
0.3.1
- new translations: hr and italiano, thanks Alen
0.3
- new: more user settings
- new: language support (english, german)
- change to wp_mail()
0.2
- new: sidebar widget to easy add the form to the sidebar
0.1
- first release
created by Readme Parser
Zu guter letzt ein Style-Sheet Beispiel. Wird ja oft genug danach gefragt.
/* field names */<br />
.contactform label { display:block; }<br />
/* fields */<br />
.contactform input { display:block; width:400px; border:1px blue solid; }<br />
/* message area */<br />
.contactform textarea { display:block; width:400px; height:200px; }<br />
/* ok message */<br />
.contactform_respons { display:block; color:green; font-weight:bold; border: 2px green solid; padding:10px; }<br />
/* error message */<br />
.contactform_error { display:block; color:red; font-weight:bold; border: 2px red solid; padding:10px; }<br />
/* smaller widget form */<br />
.widget .contactform { width:200px; }<br />
.widget .contactform input { width:98%; }<br />
.widget .contactform textarea { width:98%; height:100px; }<br />



Sehr cooles Plugin, hat gerade Contact Form 7 abgelöst. Und danke für die Style-Vorlage, sehr hilfreich
(Ich sehe gerade: Im Prinzip sage ich das gleiche wie mein Vordermann, dem ich mich nur anschließen kann
-> bitte weiterhin so simpel lassen und nicht so ein Mist wie Contact Form 7 V2.0 veranstalten, danke
)
Ich versuch mich zurückzuhalten.
Hi there, where should I copy and paste the code for contact me if I want it to display in my "contact us" page?
Thanks alot!
NooriChronicles.com
Create a page with title "contact us" and content
[TINY-CONTACT-FORM]. That's all.@Tom, I did do that but it is not working for me :( I pasted the rest of the code into my style.css and [TINY-CONTACT-FORM] into the contact us page but I dont see anything on my contact us page......any thoughts? I appreciate your help. thanks.
The shortcode is replaced on your page. It works. The response DIV but no input field is shown. Do you have change the code? Test complications with other plugins.
nope I havent changed anything. all I did is activated the plugin and then copied and pased the code into the style.css and then copied [TINY-CONTACT-FORM] into the contact us page, that is all...not sure how come it is not working for me. thanks.
Deactivate all other plugins and test TCF. OK? Same error? If OK activate the plugins step by step and test TCF.
Wow! Just dropped your great plugin Tiny Contact Form into the Hybrid template and it worked perfectly the first time. Thanks for providing it to the WP crowd.
Hi, is it possible to send the information to several mails ?
Hi trustin,
type several comma separated emails in the "To" option field.
Great plugin! Thanks for making it available. I am testing the above site and would like to do two things with the TCF:
1. remove or hide the 'Subject' field from view and program a default subject line to show up in the recipient email.
2. have the word "OPTIONAL" appear pre-typed in the From Email field.
Is this possible? Thanks again!
Mike
Hi Mike,
1. you can delete the lines 84, 85, 344, 352 and 353. but i don't test it!
2. in the options? no, because its no email. i dont check this.
but with a little php knowledge...
Hi Tom
Great plugin, does what it says on the tin!
Just one query if your blog title has an ampersand (&) in it when you do a reply to a message, that email reply doesn't show the ampersand but instead it is displayed as &.
For example, if your blog title was Apples & Pears it would be diplayed as Apples & Pears on the reply email.
Is there anyway to retify this because it obviously doesn't look or read right?
Hi Mark,
i simple use the WP function
get_bloginfo('name')to insert the name in subject. This function creates HTML entities if needed.You can try to set fixed name in lines 120 and 128.
Hi,
I love the form but after I submit my message it disappears and won't re-appear on refresh. I'd like it to stay there.
Amanda
p.s. All the times I refreshed the page to get the form to appear again it just sent another form to my email.
Hi Amanda,
Click the link (eg. headline) of the TCF page an the form will be show again.
that's all correct. If you send the form only the message will be show. A normal user send one message and ready.
If you reload the page with F5 or reload button, the form data will be send to the server again - and the email too.