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: http://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 if (isset($tiny _ contact _ form)) $tiny _ contact _ form->showForm(); ?>Frequently Asked Questions
How to style?
- The complete form is surrounded by a . 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 page
Screenshots
Arbitrary section
Silent Helper
- Jay Shergill http://www.pdrater.com
Translations
- by: Marcis Gasuns http://www.fatcow.com
- da: Jonas Thomsen http://jonasthomsen.com
- de: myself ;)
- es: Jeffrey Borbón http://www.eljeffto.com
- fr: Jef Blog
- he: Sahar Ben-Attar http://openit.co.il
- hr, it: Alen Širola http://www.gloriatours.hr
- hu: MaXX http://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 ParserZu guter letzt ein Style-Sheet Beispiel. Wird ja oft genug danach gefragt.
/* field names */ .contactform label { display:block; } /* fields */ .contactform input { display:block; width:400px; border:1px blue solid; } /* message area */ .contactform textarea { display:block; width:400px; height:200px; } /* ok message */ .contactform_respons { display:block; color:green; font-weight:bold; border: 2px green solid; padding:10px; } /* error message */ .contactform_error { display:block; color:red; font-weight:bold; border: 2px red solid; padding:10px; } /* smaller widget form */ .widget .contactform { width:200px; } .widget .contactform input { width:98%; } .widget .contactform textarea { width:98%; height:100px; } - To change the form style in your sidebar you can use



![de [de]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/de.png)
![en [en]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/en.png)
![fr [fr]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/fr.png)
![es [es]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/es.png)
![it [it]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/it.png)
![pt [pt]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/pt.png)
![ru [ru]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/ru.png)
![ko [ko]](http://www.tomsdimension.de/wp/wp-content/plugins/translate-with-google/img/ko.png)
RSS Artikel

Also bei mir geht das auch ohne das “visibilty:hidden”, obwohl ich für #tcform input “display: block” drinne hab – sonst hätte ich den Fehler ja auch früher bemerkt
(visibility:hidden hatte ich als workaround weil ich nicht auf den trick mit “!important” gekommen war)
Ah, das !important gibs ja auch noch. Dann ist es nun wohl 4-fach abgesichert.
4-fach? 3-fach, oder? In welcher Datei steht denn das?
Direkt im Code, wird per wp_head eingefügt damit es nicht mit dem eigenen Styles überschrieben/ersetzt werden kann.
Ich benutze noch Version 0.4. Da steht das noch nicht drin.
Hi!
I have translated this plugin to Brazilian Portuguese (pt_BR) and I want to share it with all.
You can download it directly from:
http://www2.dc.ufscar.br/~altieres_lopes/tcf_pt_BR.zip
and share in the next release!
thanks!
Thanks, i will include it in next update.
hello,
For me (and for you!)
I do the french translation :
if you want the .po et .mo files they are at :
http://jefblog.free.fr/tele/
you can copy it !
Thanks for this very usefull plug in
PS And a captcha? … if it’s possible ?
Thanks for translation!
Do you get spam of this form? I don’t but other user too. So i think a little captcha will be added in next update.
Aber bitte nur optional.
Keine Sorge, ich brauch ja eigentliche auch kein Captcha, also gibt’s dann nen Haken in den Optionen.
Greetings! Great plugin, relatively simple to understand and sort through – however, whenever I submit (and it works flawlessly) it forwards me to my most recent blog posting!
Where can I change that? I’m pretty good with php and fairly comfortable with wordpress. It’s a problem that I need to fix and really want to fix because I put decent work into having it work/look right.
Hello Joe,
the form calls its own page, no forward. Do you see any ok or error message? See the action parameter in form tag. It have to be the url of the current page. Any other plugins with redirects?
I’ll check all of those options out – I had to manipulate your code, but I’m pretty sure I didn’t touch your form action, and I can’t imagine any of my widgets/plugins would have redirects to that particular thread (latest one posted).
But like I said, I’ll check it out some more and let you know what’s the issue!
Thanks for the reply, i’ll be back again soon! And hopefully sooner than more spammers
oh geez, i forgot to mention that I’m not getting any errors, the form works flawlessly (and was mighty easy to customize with css and some php/html knowledge). just the redirect is driving me bonkers. i’ll maybe check out some other form actions or somethign on the sidebar.
but i’ll let you know my progress, just wanted to let you know the form works awesome other than that silly issue.
Alright, dont mind me spamming your comment board – but it would look like I have my get_permalink() set to the latest thread. So I either have to find somewhere in settings where that is and change it, or search through my database (ewww).
But that would seem to be the issue! I can’t believe I didn’t see that anytime before.
Thanks for the help!
Your failure? That’s OK.
Great plugin! An additional field to enter a phone number would great.
Thank you!
Tom,
Eventually I got it going the way I wanted – in a side bar fitting withing the design:
structuredinsurancesettlements.com/new/ (just to show how)
I had to play with the settings to get the right size form. Can i suggest that a more descriptive readme be put with the plugin so it makes it easy to change to fit with layout?
Hello Paul,
A first step can be html.net. But i will include a sample style for a post form and a widget form in next update.
you should know a bit CSS to create a website or change the layout.
Great plugin.
But the form displayed like this http://i43.tinypic.com/30mwupl.jpg
I added .contactform input { display:block; }
But now its like this http://i41.tinypic.com/blxlu.jpg
How do I get the Name/Email/Subject boxes and the submit query button centered?
You use anything like
text-align: center;as default style for this area. Try.contactform label {text-align:left;}to overwrite it.