Giter Site home page Giter Site logo

cakephp-full-calendar-plugin's People

Contributors

overflow636 avatar silasmontgomery avatar srs81 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cakephp-full-calendar-plugin's Issues

Event is not shown

if an event is not allday and starts in month before and ends in the month after the selected month in calendar, so the event is not shown.
my simple approach is to set explicitly the end for every event and make changes to line 78 from
$conditions = array('conditions' => array('UNIX_TIMESTAMP(start) >=' => $vars['start'], 'UNIX_TIMESTAMP(start) <=' => $vars['end']));

to

$conditions = array('conditions' => array('UNIX_TIMESTAMP(end) >=' => $vars['start'], 'UNIX_TIMESTAMP(start) <=' => $vars['end']));

that works for me, because i don't use allday events, so there is set an vaild end...
the drag&drop feature sets an ugly 1970-01-01 01:00:00 date for allday events end

greetings

Show only some kind of events

Hi everyone,

I'm using this plugin in my application and I have modified it a little in a way that the events table save the ID of the user who created the event. I'm wondering if there is a way of modify the calendar index so that shows only the events created by that user.

Could anyone help me?

Thanks!

Plugin breaks links

Hi im using elements for different menus in my site using cakephp to create the links eg; echo $this->Html->link('Home',array('controller'=>'users','action'=>'home'));

My links all break when using the full_calender plugin 2.0 branch when i click the link to the full calender page located at; http://localhost/mysite/full_calendar

all the links in my element are broken and become;

http://localhost/mysite/full_calendar/home/

instead of

http://localhost/mysite/home

ive installed the plugin in app/plugin

Im using the controller name and view in my links in the element so whats going wrong?

Remove the top-level folder

If you move the files up one folder and remove the top-level container, people can just submodule this project into their git repo, a fairly common practice.

Thanks.

remove old syntax

in your index.ctp it should read:

echo $this->Javascript->link('/full_calendar/js/jquery-1.5.min', false);
echo $this->Javascript->link('/full_calendar/js/jquery-ui-1.8.9.custom.min', false);
echo $this->Javascript->link('/full_calendar/js/fullcalendar.min', false);
echo $this->Javascript->link('/full_calendar/js/jquery.qtip-1.0.0-rc3.min', false);
echo $this->Javascript->link('/full_calendar/js/ready', false);
echo $this->Html->css('/full_calendar/css/fullcalendar', null, array('inline' => false));

Change the Calendar event display format

How to change the calendar event display format into for example, 11.00a.m - Title.
The default is showed as start followed by title without space (11aTitle).

Could anyone help me with this problem?
Thx

No Showing any events on calendar (Cakephp 2.0)

It don't show any event..

Notice (8): Undefined index: start [APP/Plugin/FullCalendar/Controller/EventsController.php, line 83]
Notice (8): Undefined index: end [APP/Plugin/FullCalendar/Controller/EventsController.php, line 83]
Notice (8): Undefined variable: data [APP/Plugin/FullCalendar/Controller/EventsController.php, line 104]
null

what can i do? any suggestions?

add non minified source files

Great pluggin. Thank you for your work. I would like to add this to my project but would appreciate if you added the non minified versions of your js. Thanks again. Also out of the box the calendar did not display events.

EDIT: nevermind.. I realized the fullCalendar was an additional pluggin.

Add more event tables

Hello,

I have currently a website, which has already several types of events, based in separate tables.

I was wondering is it possible to integrate them in your FullCalendar plugin. As far as I can see, there are the following solutions:

  1. To try to modify your plugin and make it fetch the data from the existing tables and assign a separate event type to each of them.
  2. To modify my existing code, e.g. to duplicate the present data and put it in events table with the corresponding event type. And when the data in the existing tables is modified, it should be synchronized in the events table.

Could you please give some guidelines to solve the problem?

Thanks a lot!

Regards,
VaanBooch

Add Event in the calendar directly (when I click on the calendar) and saving data in database

Hy,
I am using the plugin FullCalendar for CakePhp.
But ,my problem is how can I add a new event when I click on the calendar and save data in database.
I added this to the file ready.js:
selectable: true,
selectHelper: true,
select: function(start, end, allDay) {
var title = prompt('Event Title:');
if (title) {
calendar.fullCalendar('renderEvent',
{
title: title,
start: start,
end: end,
allDay: allDay
},
true // make the event "stick"
);
}
calendar.fullCalendar('unselect');
},

The event is added on the calendar but when I refresh the event disappear also when I check the database this event is not added.
Please how can I get data and save it ????

Fatal error

class 'FullcalendarAppController' not found in FullCalendarContoller.php error occurs

Problem with Acl

When I trie to run mysite.com/full_calendar, I get this response:

Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:
Aro: Array
(
[User] => Array
(
[id] => 2
[username] => admin
[first_name] => Nemanja
[last_name] => �okić
[email] => [email protected]
[group_id] => 2
[created] => 2014-03-06 08:03:16
[modified] => 2014-03-06 08:03:16
[Group] => Array
(
[id] => 2
[name] => Administratori
[created] => 2014-03-06 08:00:56
[modified] => 2014-03-06 08:00:56
)

    )

)

Aco: controllers/FullCalendar/FullCalendar/index [CORE/Cake/Model/Permission.php, line 92]

events are not displayed in the calendar

hai.Let me explain in short my problems.
-im new to cakephp.
-i need to develop a timesheet system using cakephp.
-i need to include a fullcalendar in my cakephp.(which i've done using the silas/cakephp-full-calendar-plugin)
-i want to make the calendar to be editable.(i've changed the editable:false to editable:true in the ready.js)
-BUT i CANT view the events in the calendar eventhough i've created the events and CAN view it in the events/index, and so on.
-MAIN purpose of timesheet cakephp is to calculate total time spent for a project, which will be generated automatically.(need coding for this)
-how to edit the events in the calendar ?and where and how to edit the code?pls help me out.
its my BIG project..

Pre download

Hi, I'm asking if I can use your calendar for create a booking system ?

I've already got a Table wich contain my rooms and I want to add to the customer the possibility to book the room and display which day is booked on the calendar.

Thanks :)

Event's not display on calendar-plugin

There is a problem with showing event title on the calendar please can you find out?
i follow all step's to install plugin and it display calendar view but not event's in it...

Calender not showing

I did as per the instructions, but cant find the calender in my working site, is there any changes to be done in the route.php file?

Moving scheduled time not accurate

When i am moving scheduled event, display time is not accurate and its impossible to move it from 8:00 am to 9:00, usually it writes 8:50 or 9:20. Also, fiebug reports a bunch of errors:
Missing View

Error: The view for EventsController::update() was not found.

Error: Confirm you have created the file: E:\crm\app\Plugin\FullCalendar\View\Events\update.ctp

Notice: If you want to customize this error message, create app\View\Errors\missing_view.ctp
Stack Trace

CORE\Cake\View\View.php line 460 → View->_getViewFileName(null)
CORE\Cake\Controller\Controller.php line 962 → View->render(null, null)
CORE\Cake\Routing\Dispatcher.php line 110 → Controller->render()
CORE\Cake\Routing\Dispatcher.php line 85 → Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)
APP\webroot\index.php line 96 → Dispatcher->dispatch(CakeRequest, CakeResponse)

(default) 9 queries took 0 ms Nr Query Error Affected Num. rows Took (ms)
1 SELECT COUNT() AS count FROM crm.events AS Event WHERE Event.id = 1 1 1 0
2 SELECT COUNT(
) AS count FROM crm.events AS Event WHERE Event.id = 1 1 1 0
3 UPDATE crm.events SET start = '2012-3-9 8:50:00', modified = '2012-03-08' WHERE crm.events.id = '1' 1 1 0
4 SELECT COUNT() AS count FROM crm.events AS Event WHERE Event.id = 1 1 1 0
5 SELECT COUNT(
) AS count FROM crm.events AS Event WHERE Event.id = 1 1 1 0
6 UPDATE crm.events SET end = '2012-3-9 9:21:00', modified = '2012-03-08' WHERE crm.events.id = '1' 1 1 0
7 SELECT COUNT() AS count FROM crm.events AS Event WHERE Event.id = 1 1 1 0
8 SELECT COUNT(
) AS count FROM crm.events AS Event WHERE Event.id = 1 1 1 0
9 UPDATE crm.events SET all_day = '0', modified = '2012-03-08' WHERE crm.events.id = '1' 0 0 0

FullCalendar Integration with My Application

So I downloaded this plugin and used it on my web application and fortunately, it's working. I can save events to the database either. Everything is working fine.

Since the CakePHP documentation is somewhat lacking in explanation I have some questions I needed to be answered. I hope someone can help me out.

Like what the author said in his post you can access the calendar plugin on this url: localhost/app_name/full_calendar

So in my application there are 3 users. One user will be the staffs who will handle the calendar feature of the application. Its url is: localhost/app_name/staffs/index.

These are my questions:

  1. How can I do it in such a way that I can load the full_calendar using my staff controller? Right now I can only access the calendar using this one: localhost/app_name/full_calendar. But I want it to be accessible using this one: localhost/app_name/staffs/full_calendar.
  2. I want to redesign the UI of full_calendar to match the UI of my application. So I just have to edit the codes inside the plugin folder?

Thanks in advance!

Full Calendar access

full calendar plugin added in my project but how i can access that calendar through menu option

jQuery - Newest version not compatible.

Since there seems to be little activity on this repo I will post my findings for future visitors trying to get this work with the latest version of jQuery.

I have had severe troubles getting this plugin to work unless using the specified version of jQuery with this repo. Once I loaded up the right version of jQuery this plug in worked, and works wonderfully. :-)

Notice (8): Undefined and no show calendar/index.ctp

I would like you use the cake 2.1 help, downloaded the plugin but events / feed to the following error:

Notice (8): Undefined index: start [APP \ Plugin \ FullCalendar \ Controller \ EventsController.php, line 83]

Notice (8): Undefined index: end [APP \ Plugin \ FullCalendar \ Controller \ EventsController.php, line 83]

Notice (8): Undefined variable: data [APP \ Plugin \ FullCalendar \ Controller \ EventsController.php, line 104]

null

And my events are not being displayed in the index.

tablePrefix in Database for plugin

Hello,

i try to use tablePrefix for this plugin and set the prefix in FullCalendarAppModel, but for associations it is not considered. i set in model associations the plugin name and success! now i can use tablePrefixes...

example for EventType

var $hasMany = array(
    'Event' => array(
        'className' => 'FullCalendar.Event',
        'foreignKey' => 'event_type_id',
        'dependent' => false,
    )
); 

greetings

Events not showing

Hello there. I know this is a 2 year old plugin, but I'm trying to get the calendar to show the events that are successfully input. There was a closed issue that got pretty confusing, but I was wondering if there is a fix for this out there? Thanks in advance...

no events on calendar

Hi Silas,

I cannot see the events on my calendar :(

I downloaded the zip silasmontgomery-CakePHP-Full-Calendar-Plugin-v2.0-0-gcc9fe66.zip CakePHP-Full-Calendar-Plugin

I have CakePHP 2.1
installed in app/Plugin/FullCalendar
I created the DB tables
I see the calendar at localhost/full_calendar
I added event_types

I added events

1 1 Lorraine 2012-02-06 18:50:00 2012-02-06 20:50:00 1 Scheduled 1 2012-02-06 2012-02-06
2 1 rosemere 2012-02-09 15:52:00 2012-02-09 18:52:00 0 In Progress 1 2012-02-06 2012-02-06

There are no events on the calendar....

Unable to show the event after clicking the event in the calendar

Hi,
I am able to show the events I created in the calendar just fine
However, i am unable to show the details of the event by clicking on it in the calendar view and it shows this:

"Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404"

Can anyone help me?

I also got another problem which is the color for the event type
The color didn't show in the calendar
Thanks in advance

Disable feature for drag, drop and resize events

Hi,

This is not an issue but rather a question.
I integrated this plugin into my webapp.
I want to disable the feature for dragging, dropping and resizing events. It should be part of the fullcalendar.min.js code right? I am new to javascript. The file doesn't look readable when opening using normal editor. Do I need to do something before I can update the source code? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.