search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged php

Add or remove doctors

Answered: Management of doctors is not implemented in this tutorial. The doctor data is stored in the database, in a table called "doctor": CREATE TABLE doctor ( doctor_id INTEGER PRIMARY KEY AU...

Month problem

What if our project has many tasks throughout a couple of months. How can I show the diff tasks on the same chart although they're on different months?

Possibility of an automated reminder

Answered: This needs to be done on the server side. DayPilot focuses on the UI and it doesn't include support for sending emails.

How to stop drag and drop feature on event calendar

Answered: You need to turn the features off one by one: dp.eventMoveHandling = "Disabled"; dp.eventResizeHandling = "Disabled"; dp.timeRangeSelectedHandling = "Disabled"; See also the following tutorial ...

'daypilot-calendar' is not a known element

Answered: Both sources - the article (http://code.daypilot.org/63034/angularjs-event-calendar-open-source) and the forum topic (https://forums.daypilot.org/Topic.aspx/3170/directive-not-working) use AngularJS ...

how to reduce amount

Hi sir, This is valueable to codeing .but small doubt . iask to how to reduce in amount .

Change from sqllite to MS SQL

Answered: Yes, you just need to adjust the $db variable initialization in _db.php: $db = new PDO('sqlite:daypilot.sqlite'); For MySQL you'll need to use something like this: $host = "127.0.0.1"; $port =...

Inverse the axis

Answered: It's possible but you'd have to use the Calendar control switch to the "Resources" mode instead of the Scheduler. You can see a demo here: https://javascript.daypilot.org/demo/calendar/resources.html

delete and/or view

hi, how do i delete/cancel the event on your program? also, how or where can i access or view it's database? 'coz i can't see it in my localhost. i'm using uwamp server. it would be great if you help...

How to display more than one(current) mont ?

I have a sheduler like on screenshot. Unfortunately it shows only reservations(load from database) from current month. I'm able to display more days (eg dp.days = 365;) but there's no cells(only line...

Download option

Is there any option to download the gantt chart report?

problem with overlaps in Server.

Answered: The Scheduler supports client-side overlap detection (https://doc.daypilot.org/scheduler/event-overlapping/). This helps with real-time UI feedback but it's also necessary to implement server-side va...

How do you delete an event?

Answered: The Lite edition doesn't support the built-in "delete" icon like the Pro version: https://doc.daypilot.org/calendar/event-deleting/ The best way would probably be to add a "Delete" button to the moda...

Pro License concerned

Answered: The "DEMO" label indicates that you are using the trial version of DayPilot Pro. If you want to use the Pro version you'll need to buy a license. The trial period is limited to 60 days.

HTML5 Tennis Court Reservation for asp.net webforms

I am looking court booking and came across day-pilot Tennis court booking code sample https://code.daypilot.org/11478/html5-tennis-court-reservation-php-javascript Could you please tell me if you sam...

design

Answered: You can customize the appearence by creating a custom CSS theme. You can use the online theme designer to generate a new theme: http://themes.daypilot.org/ The generated CSS file can be also customiz...

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 61-87 of 87