Ask A Question

Notifications

You’re not receiving notifications from this thread.

SimpleCalendar 1.1 released! Discussion

Chris Oliver asked in General

Do you have a demo for this??

Reply

It just generates an HTML table, so there are no CSS styles applied by default. That's up to you. Here's a screenshot of it using Bootstrap. http://cl.ly/VYjp and an older version in use here at www.seattleastro.org/events...

Reply
DeeDee Lavinder DeeDee Lavinder

Glad to have found simple_calendar. Thank you! Are there images missing or not displaying properly above? There are empty panels with captions above them saying things like, "You can make a 4 day agenda calendar:" I am trying to learn and understand all I can about simple_calendar in order to implement it in my app as soon as possible. Thank you again for your time and energy on this program.

Reply

Updated the post to show the code for those. I'll point you to the Github page for the latest info on the gem though: https://github.com/excid3/s...

Reply

Is it possible to display a weekly calendar with days going from Monday to Friday only? This is to make student timetable.

Reply

Yes, but you would want to create a custom class that inherits from the main calendar. You can take a look at this as an example and adapt it to be a business-week calendar. https://github.com/excid3/s...

Reply

Another option I just thought about is that you could use CSS to hide the weekends (the first and last TDs in each column) and render the normal week_calendar.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.