Comments (5)
The most basic way (conceptually) would be to edit the feed function in EventsController.php so that it pulls the user id from $vars (url) and adds it to the conditions array as another condition when pulling the events from the db. You would then need to get the user id into the events url in ready.js so it's included in the Ajax call. You could pass the user id into ready.js in a similar method as the plgFcRoot variable in the FullCalendar index.ctp view.
from cakephp-full-calendar-plugin.
Hmm, I get it!
Thanks for the help!
from cakephp-full-calendar-plugin.
Great! I'll leave this one open for a bit in case you have any problems.
from cakephp-full-calendar-plugin.
Hi, please help , same issue
i have created a field user_id in the events table, pulling the value of user_id using $vars['user_id'] and assigning to conditions array as 'Event.user_id' => $vars['user_id'] , and finally in webroot/js/ready.js
i am building the feed url as events: plgFcRoot + "/events/feed?user_id=" + event.user_id,
but it is not working any help ,please
from cakephp-full-calendar-plugin.
I resolved my issue, i was editing the wrong file.. thanks again for this plugin
from cakephp-full-calendar-plugin.
Related Issues (20)
- No Showing any events on calendar (Cakephp 2.0) HOT 42
- Add more event tables HOT 4
- Unable to show the event after clicking the event in the calendar HOT 2
- I'm Using Cakestrap (Cake with Bootstrap) and i can't see the calendar HOT 2
- how to Filter events according to Event_type HOT 2
- Add Event in the calendar directly (when I click on the calendar) and saving data in database HOT 1
- Missing Controller (FullCalendarController.php) & Other Issues HOT 9
- Change the Calendar event display format
- Calender not showing HOT 1
- jQuery - Newest version not compatible.
- Problem with Acl
- Disable feature for drag, drop and resize events HOT 1
- Full Calendar access
- Events not showing
- FullCalendar Integration with My Application HOT 1
- Notice (8): Undefined and no show calendar/index.ctp
- Event's not display on calendar-plugin
- Pre download HOT 1
- Fatal error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-full-calendar-plugin.