This repository has been archived by the owner on Nov 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
readme.txt
executable file
·200 lines (148 loc) · 5.44 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
=== Plugin Name ===
Contributors: shockware, baden03, szepe.viktor, xsonic, sanidm, imelgrat
Tags: wordpress, datepicker, timepicker, date, time, calendar, contact form 7, forms, jqueryui
Requires at least: 3.6.1
Tested up to: 4.7.1
Stable tag: 2.6.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Easily add a date field using jQuery UI's datepicker to your CF7 forms.
This plugin depends on Contact Form 7.
== Description ==
Enables adding a date field for Contact Form 7 Wordpress Plugin using jQuery UI's
datepicker.
== Installation ==
Please follow the [standard installation procedure for WordPress plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins).
== Frequently Asked Questions ==
= Where do I submit a bug? =
You can [open an issue on github](https://github.com/relu/contact-form-7-datepicker/issues) or just contact me via email.
== Screenshots ==
1. The datepicker in action
2. Change themes
3. Date field generator
== Changelog ==
= 2.6.0 =
* Compatibility with CF7 4.6, replace deprecated calls (imelgrat)
* Add bosnian translation for timepicker (sanidm)
= 2.5.2 =
* Fix validation error (props to xsonic)
= 2.5.1 =
* Fix i18n
= 2.5 =
* Compatible with CF7 4.3
* Add ability to set custom theme
= 2.4.5 =
* Apply cf7dp_is_valid_date filter for date validation (Kudos to Viktor Szepe)
= 2.4.4 =
* Compatible with CF7 3.7.2
= 2.4.3 =
* Compatible with CF7 3.6
= 2.4.2 =
* Fix min/max hour/minute/second
* Update timepicker addon
* Update jqueryui version number
= 2.4.1 =
* Fixed inline date/time pickers
= 2.4 =
* Fixed minDate and maxDate attributes for date and datetime fields
* Added noWeekend to date and datetime fields
* Added stepHour, stepMinutes and stepSeconds attributes to time and datetime fields
* Make use of CF7's new Shortcode Tag API
= 2.3.2 =
* Fix year-range issues
= 2.3.1 =
* Fix date field generator not showing up anymore
* Validate dd/mm/yy dates correctly
= 2.3 =
* Made it work with CF7 3.4
* Use full jquery-ui version on asset paths
* Add Date Range feature (thanks @dollardad)
= 2.2.1 =
* Added fix for watermark on field update
= 2.2 =
* Added basic date validation
* Fixed watermark
= 2.1 =
* Added inline option
* Fixed tag generator
* Fixed date format when localized
= 2.0 =
* Complete rewrite, using jquery-ui's datepicker
= 0.7.4 =
* Bugfix:
- datepicker shortcode works now if contact form 7 is not installed
= 0.7.3 =
* Bugfix:
- fixed Janaury typo
= 0.7.2 =
* Bugfix:
- fixed field value not showing up in email message when field values contain hyphens and other non-alphanumeric chars
= 0.7.1 =
* Bugfix:
- fixed calendar not popping out when no id attribute specified in CF7 shortcode
= 0.7 =
* New:
- Added new [datepicker] tag to use outside of CF7
- Added CF7 specific attributes for the shortcodes
- Now you can have input fields prefilled with a desired date either from the configuration menu, or by specifying it in the shortcode as an attribute
= 0.6 =
* Bugfixes:
- the entry in admin menu is now being translated
- fixed an IE issue where clicking on move forward/backward (years and months) buttons would close the calendar (thanks to [bik](https://github.com/bik) for reporting)
* New:
- added Italian l11n (Kudos go to Andrea Cavaliero)
- added the possibility to load scrips/styles on what page you like (thanks to Rodolfo Buaiz for suggesting this)
to achieve this put this into your wp-config.php
`define('CF7_DATE_PICKER_ENQUEUES', false);`
then in your theme's functions.php file you have two options:
`if (is_page('Form page')) {
if (function_exists('CF7DatePicker'))
add_action('wp_enqueue_scripts', array('CF7DatePicker', 'plugin_enqueues'));
}`
or
`function cf7dp_enqueues() {
if (is_page('Form page')) {
if (function_exists('CF7DatePicker'))
CF7DatePicker::plugin_enqueues();
}
}
add_action('init', 'cf7dp_enqueues');`
= 0.5 =
* Bugfixes:
- the name of the js var that holds the jsDatePick object is now escaped so no illegal char gets printed (regards [Petrus](http://wordpress.org/support/profile/petrus006))
- removed any posibility of the calendar being displayed more than once at a time on a page when in Mode 2
- controls option now works
* New:
- animate the calendar on display option
- added Dutch translations (regards [Petrus](http://wordpress.org/support/profile/petrus006))
= 0.4 =
* Added new configuration options:
- limit selectable dates according to current date (before or or after)
- available years range option
- the posibility to show/hide the month and year controls (forward/backward)
* Added new scheme (red)
* Added the posibility to use custom stylesheet files with color schemes (located in css/schemes/<scheme_name>.css)
= 0.3.1 =
* Fixed translations
= 0.3 =
* Added tag generator
= 0.2.1 =
* Fixed input field not being populated on date selection
= 0.2 =
* Fixed some romanian translation typos
* Only one calendar can be shown on a page at a time (datepicker closes onblur)
* Changed default activate configuration values
(Props @Andrea Cavaliero)
= 0.1 =
First release
== Upgrade Notice ==
= 2.4 =
Added time support via datetimepicker
You can now use the [date], [time] and [datetime] shortcodes into your contact
forms.
= 2.0 =
The plugin has been completely rewritten and the older version is no longer
supported. This version uses jQueryUI's datepicker.
You will have to regenerate all of your date fields.
= 0.7.1 =
If you installed 0.7, do upgrade quick! This will fix all issues!