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: 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 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 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
Translations

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

RSS-Feed 380 Kommentare

alle Kommentare anzeigen / show all comments
  1. JUICEDaniel JUICEDaniel sagt:

    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 :-) )

  2. 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

  3. @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.

  4. 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.

  5. EdKilby EdKilby sagt:

    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.

  6. trustin trustin sagt:

    Hi, is it possible to send the information to several mails ?

  7. Mike Mike sagt:

    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

    • Tom Tom sagt:

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

  8. Mark Mark sagt:

    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 &#38.

    For example, if your blog title was Apples & Pears it would be diplayed as Apples &#38 Pears on the reply email.

    Is there anyway to retify this because it obviously doesn't look or read right?

    • Tom Tom sagt:

      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.

  9. Amanda Amanda sagt:

    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 :verliebt:

  10. Amanda Amanda sagt:

    p.s. All the times I refreshed the page to get the form to appear again it just sent another form to my email.

    • Tom Tom sagt:

      Hi Amanda,
      that's all correct. If you send the form only the message will be show. A normal user send one message and ready. ;) Click the link (eg. headline) of the TCF page an the form will be show again.
      If you reload the page with F5 or reload button, the form data will be send to the server again - and the email too.

Kommentare Seite:«6789101112131415»»|
alle Kommentare anzeigen / show all comments

Kommentar schreiben




Tiny Corner