3
I followed this tutorial to create my calendar: https://medium.com/@guimenegussi/criação-um-calend%C3%A1rio-de-eventos-din%C3%A2micos-com-php-ajax-e-fullcalendar-js-6cc21634b1a4
Then I downloaded fullcalendar-3.9.0.zip from this link: https://fullcalendar.io/download
After downloading which files I have to copy from this folder I downloaded and which path I have to paste into my theme or server?
Is that on the console I get these errors:
schedule-test:388 GET http://xxx.xxx.x.xx/wordpress/index.php/fullcalendar/lib/Moment.min.js 404 (Not Found) test schedule:389 GET http://xxx.xxx.x.xx/wordpress/index.php/fullcalendar/fullcalendar.js 404 (Not Found) test schedule:386 GET http://xxx.xxx.x.xx/wordpress/index.php/fullcalendar/fullcalendar.css 404 (Not Found) test schedule:387 GET http://xxx.xxx.x.xx/wordpress/index.php/fullcalendar/lib/jquery.min.js 404 (Not Found) test schedule:388 GET http://xxx.xxx.x.xx5/wordpress/index.php/fullcalendar/lib/Moment.min.js 404 (Not Found) test schedule:389 GET http://xxx.xxx.x.xx/wordpress/index.php/fullcalendar/fullcalendar.js 404 (Not Found)
I have tried to copy and paste in all places within my theme and continue to always appear these errors, and this way does not return me the calendar.
Resolution of the problem: The ways were wrong of the pound:
<link rel='stylesheet' href='/wordpress/wp-content/themes/busiprof/fullcalendar-3.9.0/fullcalendar.css' />
<script src='/wordpress/wp-content/themes/busiprof/fullcalendar-3.9.0/lib/jquery.min.js'></script>
<script src='/wordpress/wp-content/themes/busiprof/fullcalendar-3.9.0/lib/moment.min.js'></script>
<script src='/wordpress/wp-content/themes/busiprof/fullcalendar-3.9.0/fullcalendar.js'></script>
In the file link
js
appearsindex.php
. I believe that the correct path should be more or less like this:http://xxx.xxx.x.xx/wordpress/fullcalendar/fullcalendar.js
.– Thiago Magalhães
@Thiago Magalhães, how can I then put the way?
– Bruno
how are you making the call from those files?
– Thiago Magalhães
Thus: <link rel='stylesheet' href='fullcalendar/fullcalendar.css' /> <script src='fullcalendar/lib/jquery.min.js'></script> <script src='fullcalendar/lib/Moment.min.js'></script> <'fullcalendar/fullcalendar.js'></script>
– Bruno
try these two ways:
<link rel='stylesheet' href='/wordpress/fullcalendar/fullcalendar.css' />
or<link rel='stylesheet' href='/fullcalendar/fullcalendar.css' />
– Thiago Magalhães
@Thiago Magalhães, solved, the problems were in the paths
– Bruno
how did you resolve?
– Thiago Magalhães
altering the paths as you commented above
– Bruno
post and mark as answer the way you solved the problem to close the question
– Thiago Magalhães
Let’s go continue this discussion in chat.
– Bruno