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

Questions Tagged php

Changing the Daypilot instance

Answered: I found the solution myself, would be of help to others if ever come across this question. I simply used the dispose() method of the DayPilot, so when the event is triggered, I first got rid of the e...

backend_delete

Answered: Please take a look at the documentation: https://doc.daypilot.org/calendar/event-deleting/ You need to use onEventDelete event handler to call backend_delete.php endpoint on the server side. You need...

Event Calendar

Answered: Have you checked the docs? https://doc.daypilot.org/scheduler/event-deleting/

Gantt graph appearance height

Answered: You can use dp.heightSpec = "Parent100Pct" to set the Gantt height to 100% of the parent element. Just make sure that the parent height is set explicitly (either using "height" style or using "top"/"...

Database

How can I connect it to database? Thanks

How to remove orange rectangle with text "DEMO" from month view of daypilot?

Answered: It looks like you have used DayPilot Pro (the paid version) in your project. 1. You can use DayPilot Lite (open-source) instead - but it doesn't include all Pro features: https://javascript.daypilot....

General questions

Answered: 1. No, this project includes a trial version of DayPilot Pro and is limited to testing and evaluation purposes, for 60 days. You need a DayPilot Pro for JavaScript license to use it in production (ht...

Event calendar

Answered: Maybe just a typo, it should be "locale": dp.locale = "fi-fi"; See also: https://api.daypilot.org/daypilot-calendar-locale/

changing court name

Answered: At this moment the tutorial project doesn't include the user interface to change the court names. You'd have to add it or you can also modify the database directly. The sample SQLite database is gene...

bespoke development

Answered: Thanks Dan. In all honesty, it would still be over my head! Obviously, I'd like to licence your code, but would anyone else be interested in helping me adapt it to our specific needs? Thanks

How can i translate days into another language

Answered: Please take a look at the Localization topic in the documentation: https://doc.daypilot.org/month/localization/ You can use one of the predefined locales or you can define your own. In addition to sw...

uploading data

Answered: It turns out that the project included an incorrect version of _db.php that initializes the database. A fixed project is now available for download. The employees are stored in the database, in a tab...

Display mysql data

I have two input box and with the help of this two input data i wants to display my mysql data Ex. i have so many employee data in a single table then i wants to display only to those people whose ha...

Demo

Answered: You can see a live demo of the Scheduler here: https://javascript.daypilot.org/demo/

fatal error

Answered: It looks like the 'ODBC' user doesn't have sufficient permissions (to access the database). See also: https://dev.mysql.com/doc/refman/5.7/en/privilege-system.html

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...
Questions 1-30 of 42 Next