FullCalendarBundle displays an error after installing it in symfony 3.4No Callback after SQLite-RequestSymfony2: PrePersist/PreUpdate lifecycle-event not firedSymfony2 - Looking for entity class in wrong place?Doctrine ORM: Persisting collections with Composite Primary Keys composed of Foreign KeysUpdating start param in events FullcalendarSymfony2 doctrine join returns too much datatranslation-form with default entity translations not foundHow set null on field using symfony formNeither the property “parent” build form Symfony 2 Self-Referenced mappingNull values in new entities in symfony 3.4 forms without defaults

Does WiFi affect the quality of images downloaded from the internet?

What is Gilligan's full Name?

What does this line mean in Zelazny's The Courts of Chaos?

Does a single fopen introduce TOCTOU vulnerability?

My mom's return ticket is 3 days after I-94 expires

Course development: can I pay someone to make slides for the course?

Is it possible to have battery technology that can't be duplicated?

If the pressure inside and outside a balloon balance, then why does air leave when it pops?

Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?

Are athlete's college degrees discounted by employers and graduate school admissions?

Fastest way from 8 to 7

Why didn't the people of King's Landing riot when the Great Sept of Baelor was destroyed?

In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?

Harley Davidson clattering noise from engine, backfire and failure to start

How to represent jealousy in a cute way?

Placement of positioning lights on A320 winglets

Do Veracrypt encrypted volumes have any kind of brute force protection?

Can I attach a DC blower to intake manifold of my 150CC Yamaha FZS FI engine?

Why did Robert pick unworthy men for the White Cloaks?

Is it advisable to add a location heads-up when a scene changes in a novel?

Must CPU have a GPU if motherboard provides display port (when no separate video card)?

Can an open source licence be revoked if it violates employer's IP?

Am I allowed to determine tenets of my contract as a warlock?

What is the theme of analysis?



FullCalendarBundle displays an error after installing it in symfony 3.4


No Callback after SQLite-RequestSymfony2: PrePersist/PreUpdate lifecycle-event not firedSymfony2 - Looking for entity class in wrong place?Doctrine ORM: Persisting collections with Composite Primary Keys composed of Foreign KeysUpdating start param in events FullcalendarSymfony2 doctrine join returns too much datatranslation-form with default entity translations not foundHow set null on field using symfony formNeither the property “parent” build form Symfony 2 Self-Referenced mappingNull values in new entities in symfony 3.4 forms without defaults






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I installed fullcalendarbundle, and I configured it as it is mentioned on the Github, but when I run it,
it shows nothing on the screen except [null, null] :



Or it should show me a calendar where I can add events and save them in the database.



Here is my listener:



namespace DoctixMedecinBundleEventListener;

use DoctixMedecinBundleEntitySchedule;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

use DoctrineORMEntityManagerInterface;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;

class FullCalendarListener

/**
* @var EntityManager
*
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManagerInterface $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;

/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getDateDebut();
$endDate = $calendar->getDateFin();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$schedules = $this->em->getRepository(Schedule::class)
->createQueryBuilder('s')
->andWhere('s.date_debut BETWEEN :date_debut and :date_fin')
->setParameter('date_debut', $startDate->format('Y-m-d H:i:s'))
->setParameter('date_fin', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($schedules as $schedule)

// create an event with the booking data
$scheduleEvent = new Event(
$schedule->getTitle(),
$schedule->getDateDebut(),
$schedule->getDateFin() // If end date is null or not defined, it create an all day event
);

$scheduleEvent->setUrl(
$this->router->generate('schedule_index', array(
'id' => $schedule->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($scheduleEvent);





And here is my entity:



 namespace DoctixMedecinBundleEntity;

use DoctrineORMMapping as ORM;

/**
* CalendarEvent
*
* @ORMTable(name="schedule")
*
)
*/

class Schedule
{
/**
* @var int
*
* @ORMColumn(name="id", type="integer")
* @ORMId
* @ORMGeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORMColumn(name="title", type="string", length=255)
*/
private $title;
/**
* @var DateTime
*
*@ORMColumn(name="date_debut", type="datetime", nullable=true)
*/
private $date_debut;
/**
* @var DateTime
*
*@ORMColumn(name="date_fin", type="datetime", nullable=true)
*/
private $date_fin;

/**
* @ORMManyToOne(targetEntity="DoctixMedecinBundleEntityMedecin")
* @ORMJoinColumn(nullable=true)
*/
private $medecin;


/**
* @return int
*/
public function getId()

return $this->id;

/**
* @param int $id
*/
public function setId($id)

$this->id = $id;

/**
* @return string
*/
public function getTitle()

return $this->title;

/**
* @param string $title
*/
public function setTitle($title)

$this->title = $title;
return $this;


/**
* @return DateTime
*/
public function getDateDebut()

return $this->date_debut;

/**
* @return DateTime
*/
public function getDateFin()

return $this->date_fin;

/**
* @param DateTime $date_debut
*/
public function setDateDebut($date_debut)

$this->date_debut = $date_debut;

/**
* @param DateTime $date_fin
*/
public function setDateFin($date_fin)

$this->date_fin = $date_fin;


/**
* Set medecin
*
* @param DoctixMedecinBundleEntityMedecin $medecin
* @return Schedule
*/
public function setMedecin(DoctixMedecinBundleEntityMedecin $medecin)

$this->medecin = $medecin;

return $this;


/**
* Get medecin
*
* @return DoctixMedecinBundleEntityMedecin
*/
public function getMedecin()

return $this->medecin;



And here is the rendering of my page:
rendering of my page
and following the page
Thank you, if you need another file, tell me



here is my js file:






$(function () 
$('#calendar-holder').fullCalendar(
events: '/schedule',
locale: 'fr',
header:
left: 'prev, next, today',
center: 'title',
right: 'month, agendaWeek, agendaDay'
,
/* buttonText:
today: 'aujourd''hui',
month: 'mois',
week: 'semaine',
day: 'jour',
list: 'liste'
*/
//weekends: false,
timezone: ('Africa/Bamako'),
businessHours:
start: '09:00',
end: '18:00',
dow: [1, 2, 3, 4, 5]
,
allDaySlot: true,
defaultView: 'month',
lazyFetching: true,
firstDay: 1,
selectable: true,
/*timeFormat:
agenda: 'h:mmt',
'': 'h:mmt'
,*/
/*columnFormat:
month: 'ddd',
week: 'ddd D/M',
day: 'dddd'
,*/
editable: true,
eventDurationEditable: true,
/* eventRender: function (event, element)
element.attr('href', 'javascript:void(0);');
element.click(function()
$("#calendar_modal").html(moment(event.title));
$("#calendar_modal").html(moment(event.date_debut).format("Y-m-dTH:i:sP"));
$("#calendar_modal").html(moment(event.date_fin).format("Y-m-dTH:i:sP"));
$("eventLink").attr('href', event.url);
$("eventContent").dialog( modal: true, title: event.title, width:350);
);

*/
);
);





And you're probably going to ask me why I did not call the url: fc-load-events, because this one always shows me the two [ ] tags on a blank page.










share|improve this question
























  • In the doc, in your entity, it's talking about extending AncaRebecaFullCalendarBundleModelFullCalendarEvent not the event... Is it normal ? github.com/ancarebeca/…

    – Pimento Web
    Jul 16 '18 at 19:17











  • In the listener near andWhere('b.beginAt in createQueryBuilder change b by s (like Schedule first letter of your entity) and b.beginAt by s.date_debut. Then near $scheduleEvent = new Event( change getBeginAt by getDateDebut same for end

    – Théo Attali
    Aug 4 '18 at 18:15












  • It does not change anything yet, always the same rendering

    – Mohamed Sacko
    Aug 4 '18 at 20:56











  • @MohamedSacko can you show your listener

    – Théo Attali
    Aug 4 '18 at 23:17











  • @ThéoAttali, I edited my listener according to your recommendations

    – Mohamed Sacko
    Aug 6 '18 at 0:24

















0















I installed fullcalendarbundle, and I configured it as it is mentioned on the Github, but when I run it,
it shows nothing on the screen except [null, null] :



Or it should show me a calendar where I can add events and save them in the database.



Here is my listener:



namespace DoctixMedecinBundleEventListener;

use DoctixMedecinBundleEntitySchedule;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

use DoctrineORMEntityManagerInterface;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;

class FullCalendarListener

/**
* @var EntityManager
*
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManagerInterface $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;

/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getDateDebut();
$endDate = $calendar->getDateFin();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$schedules = $this->em->getRepository(Schedule::class)
->createQueryBuilder('s')
->andWhere('s.date_debut BETWEEN :date_debut and :date_fin')
->setParameter('date_debut', $startDate->format('Y-m-d H:i:s'))
->setParameter('date_fin', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($schedules as $schedule)

// create an event with the booking data
$scheduleEvent = new Event(
$schedule->getTitle(),
$schedule->getDateDebut(),
$schedule->getDateFin() // If end date is null or not defined, it create an all day event
);

$scheduleEvent->setUrl(
$this->router->generate('schedule_index', array(
'id' => $schedule->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($scheduleEvent);





And here is my entity:



 namespace DoctixMedecinBundleEntity;

use DoctrineORMMapping as ORM;

/**
* CalendarEvent
*
* @ORMTable(name="schedule")
*
)
*/

class Schedule
{
/**
* @var int
*
* @ORMColumn(name="id", type="integer")
* @ORMId
* @ORMGeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORMColumn(name="title", type="string", length=255)
*/
private $title;
/**
* @var DateTime
*
*@ORMColumn(name="date_debut", type="datetime", nullable=true)
*/
private $date_debut;
/**
* @var DateTime
*
*@ORMColumn(name="date_fin", type="datetime", nullable=true)
*/
private $date_fin;

/**
* @ORMManyToOne(targetEntity="DoctixMedecinBundleEntityMedecin")
* @ORMJoinColumn(nullable=true)
*/
private $medecin;


/**
* @return int
*/
public function getId()

return $this->id;

/**
* @param int $id
*/
public function setId($id)

$this->id = $id;

/**
* @return string
*/
public function getTitle()

return $this->title;

/**
* @param string $title
*/
public function setTitle($title)

$this->title = $title;
return $this;


/**
* @return DateTime
*/
public function getDateDebut()

return $this->date_debut;

/**
* @return DateTime
*/
public function getDateFin()

return $this->date_fin;

/**
* @param DateTime $date_debut
*/
public function setDateDebut($date_debut)

$this->date_debut = $date_debut;

/**
* @param DateTime $date_fin
*/
public function setDateFin($date_fin)

$this->date_fin = $date_fin;


/**
* Set medecin
*
* @param DoctixMedecinBundleEntityMedecin $medecin
* @return Schedule
*/
public function setMedecin(DoctixMedecinBundleEntityMedecin $medecin)

$this->medecin = $medecin;

return $this;


/**
* Get medecin
*
* @return DoctixMedecinBundleEntityMedecin
*/
public function getMedecin()

return $this->medecin;



And here is the rendering of my page:
rendering of my page
and following the page
Thank you, if you need another file, tell me



here is my js file:






$(function () 
$('#calendar-holder').fullCalendar(
events: '/schedule',
locale: 'fr',
header:
left: 'prev, next, today',
center: 'title',
right: 'month, agendaWeek, agendaDay'
,
/* buttonText:
today: 'aujourd''hui',
month: 'mois',
week: 'semaine',
day: 'jour',
list: 'liste'
*/
//weekends: false,
timezone: ('Africa/Bamako'),
businessHours:
start: '09:00',
end: '18:00',
dow: [1, 2, 3, 4, 5]
,
allDaySlot: true,
defaultView: 'month',
lazyFetching: true,
firstDay: 1,
selectable: true,
/*timeFormat:
agenda: 'h:mmt',
'': 'h:mmt'
,*/
/*columnFormat:
month: 'ddd',
week: 'ddd D/M',
day: 'dddd'
,*/
editable: true,
eventDurationEditable: true,
/* eventRender: function (event, element)
element.attr('href', 'javascript:void(0);');
element.click(function()
$("#calendar_modal").html(moment(event.title));
$("#calendar_modal").html(moment(event.date_debut).format("Y-m-dTH:i:sP"));
$("#calendar_modal").html(moment(event.date_fin).format("Y-m-dTH:i:sP"));
$("eventLink").attr('href', event.url);
$("eventContent").dialog( modal: true, title: event.title, width:350);
);

*/
);
);





And you're probably going to ask me why I did not call the url: fc-load-events, because this one always shows me the two [ ] tags on a blank page.










share|improve this question
























  • In the doc, in your entity, it's talking about extending AncaRebecaFullCalendarBundleModelFullCalendarEvent not the event... Is it normal ? github.com/ancarebeca/…

    – Pimento Web
    Jul 16 '18 at 19:17











  • In the listener near andWhere('b.beginAt in createQueryBuilder change b by s (like Schedule first letter of your entity) and b.beginAt by s.date_debut. Then near $scheduleEvent = new Event( change getBeginAt by getDateDebut same for end

    – Théo Attali
    Aug 4 '18 at 18:15












  • It does not change anything yet, always the same rendering

    – Mohamed Sacko
    Aug 4 '18 at 20:56











  • @MohamedSacko can you show your listener

    – Théo Attali
    Aug 4 '18 at 23:17











  • @ThéoAttali, I edited my listener according to your recommendations

    – Mohamed Sacko
    Aug 6 '18 at 0:24













0












0








0








I installed fullcalendarbundle, and I configured it as it is mentioned on the Github, but when I run it,
it shows nothing on the screen except [null, null] :



Or it should show me a calendar where I can add events and save them in the database.



Here is my listener:



namespace DoctixMedecinBundleEventListener;

use DoctixMedecinBundleEntitySchedule;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

use DoctrineORMEntityManagerInterface;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;

class FullCalendarListener

/**
* @var EntityManager
*
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManagerInterface $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;

/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getDateDebut();
$endDate = $calendar->getDateFin();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$schedules = $this->em->getRepository(Schedule::class)
->createQueryBuilder('s')
->andWhere('s.date_debut BETWEEN :date_debut and :date_fin')
->setParameter('date_debut', $startDate->format('Y-m-d H:i:s'))
->setParameter('date_fin', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($schedules as $schedule)

// create an event with the booking data
$scheduleEvent = new Event(
$schedule->getTitle(),
$schedule->getDateDebut(),
$schedule->getDateFin() // If end date is null or not defined, it create an all day event
);

$scheduleEvent->setUrl(
$this->router->generate('schedule_index', array(
'id' => $schedule->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($scheduleEvent);





And here is my entity:



 namespace DoctixMedecinBundleEntity;

use DoctrineORMMapping as ORM;

/**
* CalendarEvent
*
* @ORMTable(name="schedule")
*
)
*/

class Schedule
{
/**
* @var int
*
* @ORMColumn(name="id", type="integer")
* @ORMId
* @ORMGeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORMColumn(name="title", type="string", length=255)
*/
private $title;
/**
* @var DateTime
*
*@ORMColumn(name="date_debut", type="datetime", nullable=true)
*/
private $date_debut;
/**
* @var DateTime
*
*@ORMColumn(name="date_fin", type="datetime", nullable=true)
*/
private $date_fin;

/**
* @ORMManyToOne(targetEntity="DoctixMedecinBundleEntityMedecin")
* @ORMJoinColumn(nullable=true)
*/
private $medecin;


/**
* @return int
*/
public function getId()

return $this->id;

/**
* @param int $id
*/
public function setId($id)

$this->id = $id;

/**
* @return string
*/
public function getTitle()

return $this->title;

/**
* @param string $title
*/
public function setTitle($title)

$this->title = $title;
return $this;


/**
* @return DateTime
*/
public function getDateDebut()

return $this->date_debut;

/**
* @return DateTime
*/
public function getDateFin()

return $this->date_fin;

/**
* @param DateTime $date_debut
*/
public function setDateDebut($date_debut)

$this->date_debut = $date_debut;

/**
* @param DateTime $date_fin
*/
public function setDateFin($date_fin)

$this->date_fin = $date_fin;


/**
* Set medecin
*
* @param DoctixMedecinBundleEntityMedecin $medecin
* @return Schedule
*/
public function setMedecin(DoctixMedecinBundleEntityMedecin $medecin)

$this->medecin = $medecin;

return $this;


/**
* Get medecin
*
* @return DoctixMedecinBundleEntityMedecin
*/
public function getMedecin()

return $this->medecin;



And here is the rendering of my page:
rendering of my page
and following the page
Thank you, if you need another file, tell me



here is my js file:






$(function () 
$('#calendar-holder').fullCalendar(
events: '/schedule',
locale: 'fr',
header:
left: 'prev, next, today',
center: 'title',
right: 'month, agendaWeek, agendaDay'
,
/* buttonText:
today: 'aujourd''hui',
month: 'mois',
week: 'semaine',
day: 'jour',
list: 'liste'
*/
//weekends: false,
timezone: ('Africa/Bamako'),
businessHours:
start: '09:00',
end: '18:00',
dow: [1, 2, 3, 4, 5]
,
allDaySlot: true,
defaultView: 'month',
lazyFetching: true,
firstDay: 1,
selectable: true,
/*timeFormat:
agenda: 'h:mmt',
'': 'h:mmt'
,*/
/*columnFormat:
month: 'ddd',
week: 'ddd D/M',
day: 'dddd'
,*/
editable: true,
eventDurationEditable: true,
/* eventRender: function (event, element)
element.attr('href', 'javascript:void(0);');
element.click(function()
$("#calendar_modal").html(moment(event.title));
$("#calendar_modal").html(moment(event.date_debut).format("Y-m-dTH:i:sP"));
$("#calendar_modal").html(moment(event.date_fin).format("Y-m-dTH:i:sP"));
$("eventLink").attr('href', event.url);
$("eventContent").dialog( modal: true, title: event.title, width:350);
);

*/
);
);





And you're probably going to ask me why I did not call the url: fc-load-events, because this one always shows me the two [ ] tags on a blank page.










share|improve this question
















I installed fullcalendarbundle, and I configured it as it is mentioned on the Github, but when I run it,
it shows nothing on the screen except [null, null] :



Or it should show me a calendar where I can add events and save them in the database.



Here is my listener:



namespace DoctixMedecinBundleEventListener;

use DoctixMedecinBundleEntitySchedule;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

use DoctrineORMEntityManagerInterface;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;

class FullCalendarListener

/**
* @var EntityManager
*
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManagerInterface $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;

/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getDateDebut();
$endDate = $calendar->getDateFin();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$schedules = $this->em->getRepository(Schedule::class)
->createQueryBuilder('s')
->andWhere('s.date_debut BETWEEN :date_debut and :date_fin')
->setParameter('date_debut', $startDate->format('Y-m-d H:i:s'))
->setParameter('date_fin', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($schedules as $schedule)

// create an event with the booking data
$scheduleEvent = new Event(
$schedule->getTitle(),
$schedule->getDateDebut(),
$schedule->getDateFin() // If end date is null or not defined, it create an all day event
);

$scheduleEvent->setUrl(
$this->router->generate('schedule_index', array(
'id' => $schedule->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($scheduleEvent);





And here is my entity:



 namespace DoctixMedecinBundleEntity;

use DoctrineORMMapping as ORM;

/**
* CalendarEvent
*
* @ORMTable(name="schedule")
*
)
*/

class Schedule
{
/**
* @var int
*
* @ORMColumn(name="id", type="integer")
* @ORMId
* @ORMGeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORMColumn(name="title", type="string", length=255)
*/
private $title;
/**
* @var DateTime
*
*@ORMColumn(name="date_debut", type="datetime", nullable=true)
*/
private $date_debut;
/**
* @var DateTime
*
*@ORMColumn(name="date_fin", type="datetime", nullable=true)
*/
private $date_fin;

/**
* @ORMManyToOne(targetEntity="DoctixMedecinBundleEntityMedecin")
* @ORMJoinColumn(nullable=true)
*/
private $medecin;


/**
* @return int
*/
public function getId()

return $this->id;

/**
* @param int $id
*/
public function setId($id)

$this->id = $id;

/**
* @return string
*/
public function getTitle()

return $this->title;

/**
* @param string $title
*/
public function setTitle($title)

$this->title = $title;
return $this;


/**
* @return DateTime
*/
public function getDateDebut()

return $this->date_debut;

/**
* @return DateTime
*/
public function getDateFin()

return $this->date_fin;

/**
* @param DateTime $date_debut
*/
public function setDateDebut($date_debut)

$this->date_debut = $date_debut;

/**
* @param DateTime $date_fin
*/
public function setDateFin($date_fin)

$this->date_fin = $date_fin;


/**
* Set medecin
*
* @param DoctixMedecinBundleEntityMedecin $medecin
* @return Schedule
*/
public function setMedecin(DoctixMedecinBundleEntityMedecin $medecin)

$this->medecin = $medecin;

return $this;


/**
* Get medecin
*
* @return DoctixMedecinBundleEntityMedecin
*/
public function getMedecin()

return $this->medecin;



And here is the rendering of my page:
rendering of my page
and following the page
Thank you, if you need another file, tell me



here is my js file:






$(function () 
$('#calendar-holder').fullCalendar(
events: '/schedule',
locale: 'fr',
header:
left: 'prev, next, today',
center: 'title',
right: 'month, agendaWeek, agendaDay'
,
/* buttonText:
today: 'aujourd''hui',
month: 'mois',
week: 'semaine',
day: 'jour',
list: 'liste'
*/
//weekends: false,
timezone: ('Africa/Bamako'),
businessHours:
start: '09:00',
end: '18:00',
dow: [1, 2, 3, 4, 5]
,
allDaySlot: true,
defaultView: 'month',
lazyFetching: true,
firstDay: 1,
selectable: true,
/*timeFormat:
agenda: 'h:mmt',
'': 'h:mmt'
,*/
/*columnFormat:
month: 'ddd',
week: 'ddd D/M',
day: 'dddd'
,*/
editable: true,
eventDurationEditable: true,
/* eventRender: function (event, element)
element.attr('href', 'javascript:void(0);');
element.click(function()
$("#calendar_modal").html(moment(event.title));
$("#calendar_modal").html(moment(event.date_debut).format("Y-m-dTH:i:sP"));
$("#calendar_modal").html(moment(event.date_fin).format("Y-m-dTH:i:sP"));
$("eventLink").attr('href', event.url);
$("eventContent").dialog( modal: true, title: event.title, width:350);
);

*/
);
);





And you're probably going to ask me why I did not call the url: fc-load-events, because this one always shows me the two [ ] tags on a blank page.






$(function () 
$('#calendar-holder').fullCalendar(
events: '/schedule',
locale: 'fr',
header:
left: 'prev, next, today',
center: 'title',
right: 'month, agendaWeek, agendaDay'
,
/* buttonText:
today: 'aujourd''hui',
month: 'mois',
week: 'semaine',
day: 'jour',
list: 'liste'
*/
//weekends: false,
timezone: ('Africa/Bamako'),
businessHours:
start: '09:00',
end: '18:00',
dow: [1, 2, 3, 4, 5]
,
allDaySlot: true,
defaultView: 'month',
lazyFetching: true,
firstDay: 1,
selectable: true,
/*timeFormat:
agenda: 'h:mmt',
'': 'h:mmt'
,*/
/*columnFormat:
month: 'ddd',
week: 'ddd D/M',
day: 'dddd'
,*/
editable: true,
eventDurationEditable: true,
/* eventRender: function (event, element)
element.attr('href', 'javascript:void(0);');
element.click(function()
$("#calendar_modal").html(moment(event.title));
$("#calendar_modal").html(moment(event.date_debut).format("Y-m-dTH:i:sP"));
$("#calendar_modal").html(moment(event.date_fin).format("Y-m-dTH:i:sP"));
$("eventLink").attr('href', event.url);
$("eventContent").dialog( modal: true, title: event.title, width:350);
);

*/
);
);





$(function () 
$('#calendar-holder').fullCalendar(
events: '/schedule',
locale: 'fr',
header:
left: 'prev, next, today',
center: 'title',
right: 'month, agendaWeek, agendaDay'
,
/* buttonText:
today: 'aujourd''hui',
month: 'mois',
week: 'semaine',
day: 'jour',
list: 'liste'
*/
//weekends: false,
timezone: ('Africa/Bamako'),
businessHours:
start: '09:00',
end: '18:00',
dow: [1, 2, 3, 4, 5]
,
allDaySlot: true,
defaultView: 'month',
lazyFetching: true,
firstDay: 1,
selectable: true,
/*timeFormat:
agenda: 'h:mmt',
'': 'h:mmt'
,*/
/*columnFormat:
month: 'ddd',
week: 'ddd D/M',
day: 'dddd'
,*/
editable: true,
eventDurationEditable: true,
/* eventRender: function (event, element)
element.attr('href', 'javascript:void(0);');
element.click(function()
$("#calendar_modal").html(moment(event.title));
$("#calendar_modal").html(moment(event.date_debut).format("Y-m-dTH:i:sP"));
$("#calendar_modal").html(moment(event.date_fin).format("Y-m-dTH:i:sP"));
$("eventLink").attr('href', event.url);
$("eventContent").dialog( modal: true, title: event.title, width:350);
);

*/
);
);






symfony fullcalendar






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 7 '18 at 1:57







Mohamed Sacko

















asked Jul 16 '18 at 17:21









Mohamed SackoMohamed Sacko

649




649












  • In the doc, in your entity, it's talking about extending AncaRebecaFullCalendarBundleModelFullCalendarEvent not the event... Is it normal ? github.com/ancarebeca/…

    – Pimento Web
    Jul 16 '18 at 19:17











  • In the listener near andWhere('b.beginAt in createQueryBuilder change b by s (like Schedule first letter of your entity) and b.beginAt by s.date_debut. Then near $scheduleEvent = new Event( change getBeginAt by getDateDebut same for end

    – Théo Attali
    Aug 4 '18 at 18:15












  • It does not change anything yet, always the same rendering

    – Mohamed Sacko
    Aug 4 '18 at 20:56











  • @MohamedSacko can you show your listener

    – Théo Attali
    Aug 4 '18 at 23:17











  • @ThéoAttali, I edited my listener according to your recommendations

    – Mohamed Sacko
    Aug 6 '18 at 0:24

















  • In the doc, in your entity, it's talking about extending AncaRebecaFullCalendarBundleModelFullCalendarEvent not the event... Is it normal ? github.com/ancarebeca/…

    – Pimento Web
    Jul 16 '18 at 19:17











  • In the listener near andWhere('b.beginAt in createQueryBuilder change b by s (like Schedule first letter of your entity) and b.beginAt by s.date_debut. Then near $scheduleEvent = new Event( change getBeginAt by getDateDebut same for end

    – Théo Attali
    Aug 4 '18 at 18:15












  • It does not change anything yet, always the same rendering

    – Mohamed Sacko
    Aug 4 '18 at 20:56











  • @MohamedSacko can you show your listener

    – Théo Attali
    Aug 4 '18 at 23:17











  • @ThéoAttali, I edited my listener according to your recommendations

    – Mohamed Sacko
    Aug 6 '18 at 0:24
















In the doc, in your entity, it's talking about extending AncaRebecaFullCalendarBundleModelFullCalendarEvent not the event... Is it normal ? github.com/ancarebeca/…

– Pimento Web
Jul 16 '18 at 19:17





In the doc, in your entity, it's talking about extending AncaRebecaFullCalendarBundleModelFullCalendarEvent not the event... Is it normal ? github.com/ancarebeca/…

– Pimento Web
Jul 16 '18 at 19:17













In the listener near andWhere('b.beginAt in createQueryBuilder change b by s (like Schedule first letter of your entity) and b.beginAt by s.date_debut. Then near $scheduleEvent = new Event( change getBeginAt by getDateDebut same for end

– Théo Attali
Aug 4 '18 at 18:15






In the listener near andWhere('b.beginAt in createQueryBuilder change b by s (like Schedule first letter of your entity) and b.beginAt by s.date_debut. Then near $scheduleEvent = new Event( change getBeginAt by getDateDebut same for end

– Théo Attali
Aug 4 '18 at 18:15














It does not change anything yet, always the same rendering

– Mohamed Sacko
Aug 4 '18 at 20:56





It does not change anything yet, always the same rendering

– Mohamed Sacko
Aug 4 '18 at 20:56













@MohamedSacko can you show your listener

– Théo Attali
Aug 4 '18 at 23:17





@MohamedSacko can you show your listener

– Théo Attali
Aug 4 '18 at 23:17













@ThéoAttali, I edited my listener according to your recommendations

– Mohamed Sacko
Aug 6 '18 at 0:24





@ThéoAttali, I edited my listener according to your recommendations

– Mohamed Sacko
Aug 6 '18 at 0:24












2 Answers
2






active

oldest

votes


















0














If your CRUD is done use this EventListener and modify all Booking or booking by your entity name.



<?php

namespace AppEventListener;

use AppEntityBooking;
use DoctrineORMEntityManager;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

class FullCalendarListener

/**
* @var EntityManager
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManager $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;


/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getStart();
$endDate = $calendar->getEnd();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$bookings = $this->em->getRepository(Booking::class)
->createQueryBuilder('b')
->andWhere('b.beginAt BETWEEN :startDate and :endDate')
->setParameter('startDate', $startDate->format('Y-m-d H:i:s'))
->setParameter('endDate', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($bookings as $booking)

// create an event with the booking data
$bookingEvent = new Event(
$booking->getTitle(),
$booking->getBeginAt(),
$booking->getEndAt() // If end date is null or not defined, it create an all day event
);

$bookingEvent->setUrl(
$this->router->generate('booking_show', array(
'id' => $booking->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($bookingEvent);








share|improve this answer























  • Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

    – Mohamed Sacko
    Aug 3 '18 at 17:20











  • I edited my post and add a rendering image of my page. Thanks again.

    – Mohamed Sacko
    Aug 3 '18 at 17:54











  • Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

    – Mohamed Sacko
    Aug 14 '18 at 0:07


















0














I had a similar issue you can use this bundle :



https://github.com/tattali/CalendarBundle






share|improve this answer

























  • OK. I have to reinstall this bundle to zero or I just have to configure some parts?

    – Mohamed Sacko
    Jul 18 '18 at 15:45











  • Delete the previous bundle and install this one

    – Théo Attali
    Jul 19 '18 at 12:30











  • Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

    – Mohamed Sacko
    Jul 19 '18 at 13:08











  • I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

    – Théo Attali
    Jul 31 '18 at 14:52












  • Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

    – Mohamed Sacko
    Jul 31 '18 at 23:48











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51367087%2ffullcalendarbundle-displays-an-error-after-installing-it-in-symfony-3-4%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If your CRUD is done use this EventListener and modify all Booking or booking by your entity name.



<?php

namespace AppEventListener;

use AppEntityBooking;
use DoctrineORMEntityManager;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

class FullCalendarListener

/**
* @var EntityManager
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManager $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;


/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getStart();
$endDate = $calendar->getEnd();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$bookings = $this->em->getRepository(Booking::class)
->createQueryBuilder('b')
->andWhere('b.beginAt BETWEEN :startDate and :endDate')
->setParameter('startDate', $startDate->format('Y-m-d H:i:s'))
->setParameter('endDate', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($bookings as $booking)

// create an event with the booking data
$bookingEvent = new Event(
$booking->getTitle(),
$booking->getBeginAt(),
$booking->getEndAt() // If end date is null or not defined, it create an all day event
);

$bookingEvent->setUrl(
$this->router->generate('booking_show', array(
'id' => $booking->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($bookingEvent);








share|improve this answer























  • Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

    – Mohamed Sacko
    Aug 3 '18 at 17:20











  • I edited my post and add a rendering image of my page. Thanks again.

    – Mohamed Sacko
    Aug 3 '18 at 17:54











  • Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

    – Mohamed Sacko
    Aug 14 '18 at 0:07















0














If your CRUD is done use this EventListener and modify all Booking or booking by your entity name.



<?php

namespace AppEventListener;

use AppEntityBooking;
use DoctrineORMEntityManager;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

class FullCalendarListener

/**
* @var EntityManager
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManager $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;


/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getStart();
$endDate = $calendar->getEnd();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$bookings = $this->em->getRepository(Booking::class)
->createQueryBuilder('b')
->andWhere('b.beginAt BETWEEN :startDate and :endDate')
->setParameter('startDate', $startDate->format('Y-m-d H:i:s'))
->setParameter('endDate', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($bookings as $booking)

// create an event with the booking data
$bookingEvent = new Event(
$booking->getTitle(),
$booking->getBeginAt(),
$booking->getEndAt() // If end date is null or not defined, it create an all day event
);

$bookingEvent->setUrl(
$this->router->generate('booking_show', array(
'id' => $booking->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($bookingEvent);








share|improve this answer























  • Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

    – Mohamed Sacko
    Aug 3 '18 at 17:20











  • I edited my post and add a rendering image of my page. Thanks again.

    – Mohamed Sacko
    Aug 3 '18 at 17:54











  • Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

    – Mohamed Sacko
    Aug 14 '18 at 0:07













0












0








0







If your CRUD is done use this EventListener and modify all Booking or booking by your entity name.



<?php

namespace AppEventListener;

use AppEntityBooking;
use DoctrineORMEntityManager;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

class FullCalendarListener

/**
* @var EntityManager
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManager $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;


/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getStart();
$endDate = $calendar->getEnd();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$bookings = $this->em->getRepository(Booking::class)
->createQueryBuilder('b')
->andWhere('b.beginAt BETWEEN :startDate and :endDate')
->setParameter('startDate', $startDate->format('Y-m-d H:i:s'))
->setParameter('endDate', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($bookings as $booking)

// create an event with the booking data
$bookingEvent = new Event(
$booking->getTitle(),
$booking->getBeginAt(),
$booking->getEndAt() // If end date is null or not defined, it create an all day event
);

$bookingEvent->setUrl(
$this->router->generate('booking_show', array(
'id' => $booking->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($bookingEvent);








share|improve this answer













If your CRUD is done use this EventListener and modify all Booking or booking by your entity name.



<?php

namespace AppEventListener;

use AppEntityBooking;
use DoctrineORMEntityManager;
use SymfonyComponentRoutingGeneratorUrlGeneratorInterface;
use ToibaFullCalendarBundleEntityEvent;
use ToibaFullCalendarBundleEventCalendarEvent;

class FullCalendarListener

/**
* @var EntityManager
*/
private $em;

/**
* @var UrlGeneratorInterface
*/
private $router;

public function __construct(EntityManager $em, UrlGeneratorInterface $router)

$this->em = $em;
$this->router = $router;


/**
* @param CalendarEvent $calendar
*/
public function loadEvents(CalendarEvent $calendar)

$startDate = $calendar->getStart();
$endDate = $calendar->getEnd();
$filters = $calendar->getFilters();

// You may want do a custom query to populate the calendar
// b.beginAt is the start date in the booking entity
$bookings = $this->em->getRepository(Booking::class)
->createQueryBuilder('b')
->andWhere('b.beginAt BETWEEN :startDate and :endDate')
->setParameter('startDate', $startDate->format('Y-m-d H:i:s'))
->setParameter('endDate', $endDate->format('Y-m-d H:i:s'))
->getQuery()->getResult();

foreach($bookings as $booking)

// create an event with the booking data
$bookingEvent = new Event(
$booking->getTitle(),
$booking->getBeginAt(),
$booking->getEndAt() // If end date is null or not defined, it create an all day event
);

$bookingEvent->setUrl(
$this->router->generate('booking_show', array(
'id' => $booking->getId(),
))
);

/*
* For more information see : ToibaFullCalendarBundleEntityEvent
* and : https://fullcalendar.io/docs/event-object
*/
// $bookingEvent->setBackgroundColor($booking['bgColor']);
// $bookingEvent->setCustomField('borderColor', $booking['bgColor']);

// finally, add the booking to the CalendarEvent for displaying on the calendar
$calendar->addEvent($bookingEvent);









share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 2 '18 at 23:55









Théo AttaliThéo Attali

73657




73657












  • Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

    – Mohamed Sacko
    Aug 3 '18 at 17:20











  • I edited my post and add a rendering image of my page. Thanks again.

    – Mohamed Sacko
    Aug 3 '18 at 17:54











  • Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

    – Mohamed Sacko
    Aug 14 '18 at 0:07

















  • Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

    – Mohamed Sacko
    Aug 3 '18 at 17:20











  • I edited my post and add a rendering image of my page. Thanks again.

    – Mohamed Sacko
    Aug 3 '18 at 17:54











  • Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

    – Mohamed Sacko
    Aug 14 '18 at 0:07
















Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

– Mohamed Sacko
Aug 3 '18 at 17:20





Good evening, I did exactly as you said, but so far this shows me the empty calendar and just down the schedule list.

– Mohamed Sacko
Aug 3 '18 at 17:20













I edited my post and add a rendering image of my page. Thanks again.

– Mohamed Sacko
Aug 3 '18 at 17:54





I edited my post and add a rendering image of my page. Thanks again.

– Mohamed Sacko
Aug 3 '18 at 17:54













Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

– Mohamed Sacko
Aug 14 '18 at 0:07





Hi @ThéoAttali, I wanted to ask you, if you have any idea about how to display the events created on the fullcalendar and saved in a database on a date picker for an appointment taking

– Mohamed Sacko
Aug 14 '18 at 0:07













0














I had a similar issue you can use this bundle :



https://github.com/tattali/CalendarBundle






share|improve this answer

























  • OK. I have to reinstall this bundle to zero or I just have to configure some parts?

    – Mohamed Sacko
    Jul 18 '18 at 15:45











  • Delete the previous bundle and install this one

    – Théo Attali
    Jul 19 '18 at 12:30











  • Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

    – Mohamed Sacko
    Jul 19 '18 at 13:08











  • I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

    – Théo Attali
    Jul 31 '18 at 14:52












  • Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

    – Mohamed Sacko
    Jul 31 '18 at 23:48















0














I had a similar issue you can use this bundle :



https://github.com/tattali/CalendarBundle






share|improve this answer

























  • OK. I have to reinstall this bundle to zero or I just have to configure some parts?

    – Mohamed Sacko
    Jul 18 '18 at 15:45











  • Delete the previous bundle and install this one

    – Théo Attali
    Jul 19 '18 at 12:30











  • Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

    – Mohamed Sacko
    Jul 19 '18 at 13:08











  • I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

    – Théo Attali
    Jul 31 '18 at 14:52












  • Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

    – Mohamed Sacko
    Jul 31 '18 at 23:48













0












0








0







I had a similar issue you can use this bundle :



https://github.com/tattali/CalendarBundle






share|improve this answer















I had a similar issue you can use this bundle :



https://github.com/tattali/CalendarBundle







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 24 at 23:43

























answered Jul 17 '18 at 18:00









Théo AttaliThéo Attali

73657




73657












  • OK. I have to reinstall this bundle to zero or I just have to configure some parts?

    – Mohamed Sacko
    Jul 18 '18 at 15:45











  • Delete the previous bundle and install this one

    – Théo Attali
    Jul 19 '18 at 12:30











  • Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

    – Mohamed Sacko
    Jul 19 '18 at 13:08











  • I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

    – Théo Attali
    Jul 31 '18 at 14:52












  • Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

    – Mohamed Sacko
    Jul 31 '18 at 23:48

















  • OK. I have to reinstall this bundle to zero or I just have to configure some parts?

    – Mohamed Sacko
    Jul 18 '18 at 15:45











  • Delete the previous bundle and install this one

    – Théo Attali
    Jul 19 '18 at 12:30











  • Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

    – Mohamed Sacko
    Jul 19 '18 at 13:08











  • I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

    – Théo Attali
    Jul 31 '18 at 14:52












  • Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

    – Mohamed Sacko
    Jul 31 '18 at 23:48
















OK. I have to reinstall this bundle to zero or I just have to configure some parts?

– Mohamed Sacko
Jul 18 '18 at 15:45





OK. I have to reinstall this bundle to zero or I just have to configure some parts?

– Mohamed Sacko
Jul 18 '18 at 15:45













Delete the previous bundle and install this one

– Théo Attali
Jul 19 '18 at 12:30





Delete the previous bundle and install this one

– Théo Attali
Jul 19 '18 at 12:30













Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

– Mohamed Sacko
Jul 19 '18 at 13:08





Ok I did that, and it shows me : ["title":"booking_1","start":"2018-07-16T12:00:00+00:00","allDay":false,"editable":false,"startEditable":false,"durationEditable":false,"overlap":true,"backgroundColor":"green","end":"2018-07-16T13:00:00+00:00","borderColor":"green" ] and do I have to change my entity ?

– Mohamed Sacko
Jul 19 '18 at 13:08













I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

– Théo Attali
Jul 31 '18 at 14:52






I hope you find out how to proceed, but here is an example with doctrine github.com/toiba/FullCalendarBundle/blob/master/doc/…

– Théo Attali
Jul 31 '18 at 14:52














Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

– Mohamed Sacko
Jul 31 '18 at 23:48





Hi Théo Attali, as you suggested, I installed the Toiba bundle and it just showed me a calendar without events, just a calendar. The goal for me is to be able to add (edit and delete) events to from the calendar and save them in a database. Thanks in advance

– Mohamed Sacko
Jul 31 '18 at 23:48

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51367087%2ffullcalendarbundle-displays-an-error-after-installing-it-in-symfony-3-4%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해