dcblogdev / dcblogcomments

2 stars 0 forks source link

jquery-fullcalender-with-php-and-mysql #6

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

jQuery Fullcalender with PHP and MySQL - DC Blog | Development Tutorials

I'm a big fan of fullcalendar.io the latest version is quite a bit different from earlie...

https://dcblog.dev/jquery-fullcalender-with-php-and-mysql

dandrimontp commented 3 years ago

I found. For me in french: 1) in index.php : insert juste before 2) in calendar.js : insert locale: 'fr', juste before plugins:

dandrimontp commented 3 years ago

Is it possible to open addeventmodal when the user clic on a date (not on a event) ? If yes could you tell me how to do ? REAGARDS.

dandrimontp commented 3 years ago

Hello dcblogdev, Sorry for my poor english. Thank you for this example and It works fine. I've solde my problem "How to add event when the user click on a date". Thanks a lot.

But I found a problem. 1) If you click on an existing event and click on DELETE you have a message (Are you sure you want to remove IT). It's perfect and I click on NO (not delete). 2) if you open a other existing event, click on delete, you have the message again (Are you sure to remove it). It's normal. If I click on NO the message (are you sure to remove it) come again. So twice. 3) If I open an other existing event and I made the same process, the message appears thrice. and so on... How can I resolve this issue ? REGARDS.

cbernard2b commented 3 years ago

Hi David, thanks a lot for this powerfull code.

I can't add some option like this

nowIndicator: true, height: '100%',

Regarding core file , your code running with Fullcalendar v4.4.0.

I don't understand my mistake.

If you have an idea .

Best regard

armure94 commented 3 years ago

Hi,

Thankyou for this amazing sharing !

I have a problem when I change the name of the table "events" (I do change the name everywhere (that I know of) in the ISQL requests). For instance, on the "load php" file, the events appear normally and are fine but when I click on it, the modal "Edit" does not appear. Do I have to change the table name somewhere else to make the modal appear ?

Thankyou so much for your help.

Best regards,

Pierre

userblocked commented 3 years ago

Thank you for this tutorial. I am currently exploring it, I've tried adding some fields in my database, however I am lost on the part of showing this field in the modal pop out during event click.

I did tried adding the column in calendar.js and also updated the id and name on the index.php but still the result from the database is not showing.

Hoping for your response.

Thank you very much.

Regards.

dillo83 commented 2 years ago

hi, thank you for the tutorial.. i'm trying to add an icon before the time event row but if i try to use eventcontent: nothing happen... someone have idea how to do?

dillo83 commented 2 years ago

sorry i can't editate my previous message, the problem is that override all the event text even the fc-event-time but i'm trying to put just a circle before that time...

danogg commented 2 years ago

Great piece of coding my friend! Thank you for that. There is a small bug with the delete function. If you open a dialog to edit an event, then close it, then open another one and delete it, both will get deleted. But it works just great!! I solved that little problem by sending another variable to the delete.php ajax, which worked great. Thanks again, it helped me a lot learning how to develop a nice calendar myself!

dancingrock commented 2 years ago

Hi,

The source code of the config.php in GitHub has this line: $db = new Database($options); When I code with this line, I can run the index.php but there is no reaction when I add an event after I've input all the event info.

The same line of the config.php in this page is different from it: $db = Database::get($username, $password, $database, $host); When I code with this line, I even can't run the index.php page.

And I can't add any event in the calendar right now. Hope to know if I got any mistakes.

Regards.