Apraksts
This plugin will validate fields, send via. AJAX and optionally post the ICAAL Customer Dashboard.
All configuration is done using PHP constants in the wp-config.php file.
Uzstādīšana
Installing and setting up the plugin is easy, just follow these three steps:
- Upload the plugin to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Open your
wp-config.phpfile and add the linedefine('ICAAL_TO_ADDRESS', 'YOUR_EMAIL');, obviously replacing the value with your desired email
There are several options you can customise via. the wp-config.php file:
- Add
define('ICAAL_API_KEY', 'YOUR_API_KEY');replacing the value with the customer’s ICAAL Dashboard API Key - Add
define('ICAAL_FROM_ADDRESS', 'YOUR_FROM_ADDRESS');, replacing the value with the from email address, this will default tono-reply@icaal.co.uk - Add
define('ICAAL_FROM_NAME', 'YOUR_FROM_NAME');, replacing the value with the from name in the email header, this will default to the website name
The plugin will automatically load a .js script which will validate and submit the forms for you.
All you need to do is add .icaal-contact-form to the form. The only required field is <input name="email">.
You may also specify other required fields by adding a hidden field <input type="hidden" name="required" value="first_name, last_name">
BUJ
- Installation Instructions
-
Installing and setting up the plugin is easy, just follow these three steps:
- Upload the plugin to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Open your
wp-config.phpfile and add the linedefine('ICAAL_TO_ADDRESS', 'YOUR_EMAIL');, obviously replacing the value with your desired email
There are several options you can customise via. the
wp-config.phpfile:- Add
define('ICAAL_API_KEY', 'YOUR_API_KEY');replacing the value with the customer’s ICAAL Dashboard API Key - Add
define('ICAAL_FROM_ADDRESS', 'YOUR_FROM_ADDRESS');, replacing the value with the from email address, this will default tono-reply@icaal.co.uk - Add
define('ICAAL_FROM_NAME', 'YOUR_FROM_NAME');, replacing the value with the from name in the email header, this will default to the website name
The plugin will automatically load a
.jsscript which will validate and submit the forms for you.All you need to do is add
.icaal-contact-formto the form. The only required field is<input name="email">.You may also specify other required fields by adding a hidden field
<input type="hidden" name="required" value="first_name, last_name"> - Upload the plugin to the
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“ICAAL Contact Form” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “ICAAL Contact Form” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.3.3
Improvements
- Phone number – Automatically validate phone number fields
1.3.2
Improvements
- To address – Allow hidden field to specify to address
1.3.1
Bugfixes
- Google Analytics – Fix analytics events
1.3.0
Improvements
- Google Analytics – The contact form will now automatically send Google Analytics events with each successful enquiry. The event category is
Enquiryand the action issubmit
1.2.0
Improvements
- JS – There are now two callback functions you can use to do something on success or failure:
icaal_contact_form_success(),icaal_contact_form_failure(errors)
1.1.2
Bugfixes
- API – Fix JSON send
1.1.1
Bugfixes
- API – Fix API URL
1.1.0
Improvements
- API – The plugin will now automatically post all form data from contact form 7 to the ICAAL Dashboard
1.0.1
Bugfixes
- API – Fix the ICAAL Dashboard API integration