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.

Download bei Wordpress

Tiny Contact Form 0.6

Contributors: Tom Braider
Donate 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

  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. insert [TINY-CONTACT-FORM] in your page or/and add the widget to your sidebar
  4. check the settings (email, messages, style) in backend
  5. 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 template style.css.
  • Since v0.3 you can use the settings.

Need Help? Find Bug?

read and write comments on plugin page

Screenshots


  1. 1. contact form on page

  2. 2. contact form widget in sidebar

  3. 3. settings page

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 Parser


Zu 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; }

RSS-Feed 278 Kommentare

alle Kommentare anzeigen / show all comments
  1. [...] Tiny Contact Form – Skapa ett litet smidigt kontaktformulär till er blogg för att låta era besökare kontakta dig. Kan infogas i varje artikel eller sida. [...]

  2. [...] Questo plugin vi fornisce un semplice e sicuro form di contatti Ajax based da inserire nelle pagine del vostro blog. Facile da configurare, direi che è la modalità più utilizzata nei blog Wordpress. Tiny Contact Form [...]

  3. [...] die PluginsWordpress.com Stats (Ersatz: Piwik)Akismet (Ersatz: Antispam Bee)Contact Form 7 (Ersatz: Tiny Contact Form)Vermutlich gibts da noch viel mehr Optimierungsmöglichkeiten, aber man will ja in Zukunft auch [...]

  4. Hi Tom,

    Firstly I’d like to thank you for creating what seems to be an excellent little Wordpress plugin. I have installed TCF and styled it, however I am unable to receive any emails sent by the form.

    I have added my email address in the Plugin Setting page, and when I press submit after filling in the form it tells me that the submission was successful, however I never receive an email.

    Any ideas?

  5. Darje sagt:

    Hi how can I insert some predefined text like “Paste your interview link here…” into the text box in sidebar? I want it to disappear when I click on the text box. I know this is ussually done with adding value=”Paste your interview link here…” and onfocus=”this.value=” ‘ ‘ ” but this breaks the php.

    • Tom sagt:

      To insert a default text try to change the code. Insert in line 77 before $form = ...

      if ( empty($_POST['tcf_msg']) )
      	$_POST['tcf_msg'] = 'Your text';

      To blur the field you can use onfocus="this.blur()".

Kommentare Seite:«45678910111213
alle Kommentare anzeigen / show all comments

Kommentar schreiben




Quicktags:

Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Tiny Corner