Questions Tagged php
Disable Room booking for Past Dates
How can i Disable New reservation pop up opening for Past Dates?
Delete??
Answered: There are several options, please see the following documentation page: https://doc.daypilot.org/scheduler/event-deleting/
Add beds
Answered: At this moment the number of beds is not editable using the sample code. However, it's stored in the database (rooms.capacity field) so it shouldn't be difficult to add an option to edit it.
Edit
Answered: You mus use the EventClickHandling and EventClickJavascript to envoke a ModalDialog, an show the editable data on it. https://doc.daypilot.org/scheduler/event-editing/
SQLite
Answered: Most likely the problem is that the process doesn't have permissions to write to daypilot.sqlite. 1. Trying adding the permissions. 2. Placing the DB file in a publicly accessible location is not a g...
How to change weekly calender
Answered: You can change the visible week using startDate property:
<select id="week">
<option value="2016-04-04">Week 14</option>
<option value="2016-04-11">Week 15</option>
</select>
<div id="dp"...
Directive not working
Answered: If you don't see anything in the JavaScript console I recommend starting with the following minimum code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Angular...
Using DayPilot HTML5 Hotel Room Booking (JavaScript/PHP) in Codeiginiter MCV environment
Can you please explain how to apply HTML5 Hotel Room Booking (JavaScript/PHP) in Codeiginiter MCV environment, I need to loaded events from MySQL database thru model to controller in order to pass to...
Insert an input to the file edit.php
I would like to know how to insert another field commented on edit.php file because eh treaty but I always get an error using the lite version and let me know if possible. Thanks.
post value send
Answered: You can pass a custom object as the third parameter but it will be sent in the body serialized to a JSON string:
DayPilot.request(url, successCallback, postObject);
If you need to send custom pos...
Can't load events from mysql
I'm setting up the calendar and I am having trouble switching from the sqlite database in the tutorial to my mysql database. I'm using the tutorial code created and populated a mysql databse using _d...
Previous
Questions 91-101 of 101