SimpleCalendar 1.1 released! Discussion
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.
Is it possible to display a weekly calendar with days going from Monday to Friday only? This is to make student timetable.
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...
I'm a newbie in Ruby and Rails as well, but I guess what you mean is to change this:
number_of_weeks = options.fetch(:number_of_weeks, 1) number_of_days = (number_of_weeks * 7) - 1
number_of_days = (number_of_weeks * 5) - 1
Is that it ??