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

yes, this works. i just wonder why it worked the other way before (and when it changed)
Auf deutsch, ich weiß, du kannst das.
Ich werds gleich mal ein Update hochladen.
Ich hatte im letzten Update das Inline-CSS durch eine Klasse ersetzt, damit die klügeren Bots die versteckten Felder nicht einfach ignorieren. Leider wird das dann aber durch evtl. eigene Stylesheets überschrieben. “!important” verhindert das. Das sind immer diese Kleinigkeiten an die man denken muss.
Wo hier alle englisch schreiben, wollt ich halt nicht auffallen
Dann war’s also das letzte Update des Plugins – hat mich aber auch gewundert, warum da auf einmal zwei Felder mehr auftauchen…
Manchmal ist eben mehr da als man auf den ersten Blick sieht.
I just love the simplicity of your ‘Tiny Contact Form’, really great! However, mine has all bunched up, is there any code I can add to make it look more usable like your?
an example of what mine looks like can be seen at: http://www.udevelopment.co.uk/members/contacting-us/
Hello Kevin,
all your fields and labels are “inline”. Add in you style.css or in code box on TCF options:
See comment 479 for more infos.
It does looks like simple but awesome plugin. I’ll give it a try. Thanks for sharing. Btw, you still do the support if have bug with this plugin right?
Right!
I use the widget and it is displayed
but no message arrives and error messages too
Is there anything that must be different in a widget than in a normal page…
do you get an error message or not? the widget has includes the same code as the shortcode. its the same function.
I dont get any message..
but 1 day later it works but it opens the widget above the mail form in the main “frame” but the rest was ok.. Now i put the form on the first palce and nothing works when i send a mail again.. maybe i must wait a day ?
Super Plugin! Ich vermisse allerdings noch eine wichtige Funktion: Der Kontaktierende sollte die Möglichkeit haben sich eine Kopie seiner Nachricht zuschicken zu lassen. (“Ich möchte eine Kopie der Nachricht erhalten.”)
Siehste, deshalb “Tiny”.
Ne, es gab da mal Abmahnungen wegen einer derartigen Funktion. Sowas mit Rückfragen abzusichern war mir zu kompliziert für das kleine Plugin. Deshalb habe ich es gleich rausgelassen.
Vielen Dank für deine schnelle Antwort.
Abmahnungen deswegen? Hast du nähere Informationen zur Hand?
Das mit den Abmahnungen würde mich aber wirklich interessieren!? Wie kann man denn für eine derartige Funktion jemanden abmahnen?
Ich habs vom caschy. Gib zwar bereits ne bessere Version aber das war mir zu viel. TCF ist eben “tiny”.
Danke sehr! Mich würde es trotzdem freuen, wenn du die “bessere Version” implementieren würdest.
Ach so, noch etwas: Damit ein Dokument, in dem das Formular enthalten ist, fehlerfrei als “XHTML 1.0 Strict” anerkannt wird, muss hinter
<form action=”‘.get_permalink().’” method=”post”>
noch zum Beispiel <div> und vor
</form>
noch </div> eingefügt werden.
Danke für den Hinweis. Ich arbeite nur mit “Transitional”.
Nun, ich verwende das Plugin mit K2 und erhielt beim Validieren elf Fehlermeldungen. Eine für jede der folgenden Zeilen:
(gelöscht)
Ich habs mal gelöscht, denn das ist der Quelltext. Der hat nichts mit XHTML zu tun. Muss ja erst noch verarbeitet werden. Außerdem sollen doch die Spammer nicht gleich sehen, wie es funktioniert.
Ich schau mir das ganze mal an. Ist ja nicht lebensnotwendig.
Ja, das war gut, dass du’s gelöscht hast. Entschuldige bitte!
Und danke sehr!
ich hab keine xhtml-validierungsfehler, dafür aber einen css-fehler: in zeile 335 des plugins steht “visibilty:hidden” – da fehlt ein ‘i’ -> visibility
Bei mir kommt weder “visibilty” noch “visibility” vor. Welche Version benutzt du?
na die aktuelle (0.4.3) – mhh… visibility braucht man eigentlich auch gar nicht, die sache ist ja schon mit
display:none;erledigtDas “i” ist ein Fehler, aber ich hab absichtlich beide Varianten drin, da einige Benutzer im eigenen Inline-Style
display:block;benutzen und damit wären dann auch die versteckten Felder sichtbar weil jadisplay:none;überschrieben wird. Solange ihr das richtige seht, ist alles OK.Ups, ich benutze noch Version 0.4. Da gibt’s das noch nicht.
Stimmt, aber wir entwickeln uns ja weiter.
Ich habe das Inline-CSS durch eine Klasse ersetzt, da manche Suchmaschinen wohl
display:none;so gar nicht mögen. Da könnten ja viele Wörter drin stehen, die zwar Besucher locken, aber nichts mit dem Inhalt zu tun haben.