Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time to calendar #37

Open
niklas73 opened this issue Dec 19, 2015 · 3 comments
Open

Add time to calendar #37

niklas73 opened this issue Dec 19, 2015 · 3 comments

Comments

@niklas73
Copy link

Hello

I have a few questions about the system.

  • Add text to sunday that it´s closed.
  • Add in week, that the time is showing 07.00 - 16.30 and every event is 15 min.

Check the image, hope you understand what i mean.
screenshot_1

@twinssbc
Copy link
Owner

@niklas73

  1. Adding text to Sunday is easy, you just need to modify week.html to add extra div on Sunday column. You can refer to how I place the event on the table. Basically "Closed" div is like a big event last for the whole day.
  2. Regarding display the calendar into smaller time interval, you need to modify the JS code a bit.
    Take a look at the ctrl._onDataLoaded function, this is the main function to fill the "rows" object with events. It's a two dimensional array represents each cell, for example rows[hour][day]. So here "hour" dimension needs to be increased to 24*4=96.

@niklas73
Copy link
Author

hello
Thanks for your fast replay, i have search in week.html and the js file.
And I can´t realy understand what you mean.
I see what you have type, but i can´t understand where i change.
Do you have the time to help me ???

@twinssbc
Copy link
Owner

@niklas73 I'm afraid I don't have time to implement your full idea.
I suggest you take some time to dig deep into the source code.
If you have any question, I'm always happy to provide the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants