MikeKJ
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] filtering between $_POST datesHi Michael, took out the spaces and changed it to
echo do_shortcode(‘[cfdb-table form=”Initial Application” filter=”strtotime(Available-From)>=strtotime($_POST(avail))&&strtotime(Available_To)<=strtotime($_POST(avto))”]’);but I am still getting
div’).each( function () { $(this).html(‘‘ + $(this).html() + ‘‘); }) })(jQuery);Forum: Plugins
In reply to: [Contact Form DB] wildcard search?Just thought of this as well,
Is there a way I can insert to a particular record an extra non CF7 field with a value?
Forum: Plugins
In reply to: [Contact Form DB] date in data >= POST date inputGreat plugin and some great flexibility Michael, I do have a question though, why did you decide to use an array of arrays for cfdb instead of sql rows? Just curious.
Forum: Plugins
In reply to: [Contact Form DB] date in data >= POST date inputYaay got it to work like this
[insert_php]
if (isset($_POST[‘avail’])){
echo do_shortcode(‘[cfdb-table form=”Initial Application” filter=”strtotime(Available-From) >= strtotime($_POST(avail))”]’);
}
[/insert_php]Forum: Plugins
In reply to: [Contact Form DB] date in data >= POST date inputSorry Michael, exactly as you wrote it
[cfdb-table form=”Initial Application” filter=”strtotime(Available-From)>=strtotime($_POST(avail))”]
no result returned from a POST date of 2017-04-01
Forum: Plugins
In reply to: [Contact Form DB] date in data >= POST date inputHi Michael,
Tried that with no result returned also tried[cfdb-table form=”Initial Application” filter=”strtotime(Available-From)>=strtotime(/.*$_POST(avail).*/i)”]
<form action=”.” method=”POST”>
Date: <input type=”text” name=”avail” />(yyyy-mm-dd)
<input type=”submit” />
</form>with again no return, the date entries in the database are in yyyy-mm-dd format and when entering a date in POST of 2017-04-01 I expect the data from an entry in the database with an Available-From date of 2017-04-03 to be returned. FYI this shortcode and form is in a page of a WP site.
Sorry to be a pain
Forum: Plugins
In reply to: [WP Datepicker] past dates additionalanswer came almost instantaneously, drop yearRange and minDate/maxDate works perfectly.
This addition to the plugin makes it way more versatile and the owner/developer of it is passionate about supporting it.Many many thanks.
Forum: Plugins
In reply to: [WP Datepicker] past dates additionalresolved the PRO problem by re-downloading latest PRO version and re-installing
Forum: Plugins
In reply to: [WP Datepicker] past dates additionalI ran the update and problem 1 is it immediately reverted to non PRO version
use of minDate and maxDate, like this?
$(‘#available_from, #available_to, input[name=”confirmstartdate”]’).datepicker({dayNamesMin: [‘S’, ‘M’, ‘T’, ‘W’, ‘T’, ‘F’, ‘S’], dateFormat: “yy-mm-dd”, changeMonth: true, changeYear: true, minDate:”0″, maxDate:””, closeText: “”, currentText: “”, yearRange: “-0:+50”});
above had no effect do I need to drop yearRange?
Forum: Plugins
In reply to: [Pinpoint Booking System - Version 2] Admin OverrideAre there plans to enable an admin rule override? If so is there a timescale for deployment?
Forum: Plugins
In reply to: [Contact Form DB] Filter by date(Y-m-d)Brilliant, thank you.
Forum: Plugins
In reply to: [Contact Form DB] Filter by date(Y-m-d)Tried this as well
[cfdb-table form=”Initial Application” hide=”Submitted,confirm_email-425,confirm_email-775,confirm_email-776,confirm_email-777,Submitted Login,Submitted From,submit_time” filter=”Available-From~~/.*$_POST(df).*/i]
<form action=”” method=”POST”>
<!–First Name: <input type=”text” name=”fname” />
Last Name: <input type=”text” name=”lname” /> –>
Available From: <input type=”text” name=”df” />
<input type=”submit” />
</form>Forum: Themes and Templates
In reply to: Looking for something particular template wiseForget this, found a way to do it with Responsive Mobile theme and a plugin Widgetize Navigation Menu in case anyone else wants to know
saw the post about spacing and removing spacees and readding thme, solved this problem as well!
forgot to add there is a featured image on that post within the category