testfab
Forum Replies Created
-
Forum: Plugins
In reply to: [Appointment Calendar] Changing radioboxes to checkboxes in time selectionThanks so much, Frank! Happy New Year to you!
Could you please tell me if this is correct (where I placed the code), and that is my final request! 🙂
<div class=”apcal_modal-body”>
<div id=”timesloatbox” class=”apcal_alert apcal_alert-block” style=”float:left; height:auto; width:90%;”>
<!—slots time calulation—>
<?php
# time-slots calculation
global $wpdb;
$ServiceId = $_GET[“ServiceId”];
$ServiceTableName = $wpdb->prefix.”ap_services”;
$FindService_sql = “SELECTname,durationFROM$ServiceTableNameWHEREid= ‘$ServiceId'”;
$ServiceData = $wpdb->get_row($FindService_sql, OBJECT);
$ServiceDuration = $ServiceData->duration;
End Time: <input type=”text” name=”end_time” id=”end_time”>
$AppointmentDate = date(“Y-m-d”, strtotime($_GET[‘AppDate’])); //assign selected date by userForum: Plugins
In reply to: [Appointment Calendar] Changing radioboxes to checkboxes in time selectionHi Frank
Sorry again, for being annoying and asking the same question.
Finding where to assign the end time variable was not hard, but I have no idea where to add this: End Time: <input type=”text” name=”start_time” id=”start_time”>
Cannot find where the field values for the modal are.
Krish
Forum: Plugins
In reply to: [Appointment Calendar] Changing radioboxes to checkboxes in time selectionThanks for the very quick reply, Frank! Greatly appreciated.
I have a problem though, in that I am not sure where I should make these changes? Which .php file(s) should I edit for the Second Modal Window? Or for the appointment saving code? (data_save?).
There are a lot of different .php files and I can not easily tell what they are all for. Please provide the specifics for where exactly to change these values.
Thanks in advance
Kris