Remember Calendar Location

Scott on 10/13/2015 4:37 PM

Scott on 5/4/2016 4:38 PM


0 (hrs)


We need to keep track of where the person is in the calendar when they decide to create a new event.

  1. When on the League > Calendar > List or View
  2. Goes to the 5 months ahead in time.
  3. Create a new event.
  4. On creation and save of event, the person would like to be returned to that 5 months ahead in time date.
    1. Instead, they are currently returned to the current date and time calendar.


Have the calendar remember which month you were on when you go to create/update an event. Creating/updating an event in April, then hitting the "create" and it going back to October is annoying.


Have the calendar remember which mode you were in when you go to create/update an event. Having it in Large Calendar view then Creating/updating an event, and having it go back to list view is also annoying.

Skip Navigation Links

Scott Monday, March 28, 2016 6:22 PM #

This looks really good and seems like it all works.  One thing though.

Instead of using variables, is it possible to just add it to the URL?  To show you what I mean,

  1. Go to League > Calendar > List.
  2. Click on a new tab in the list.
  3. Click on October 2016.  As you can see, the url is now CALENDARURL/2016/10
  4. Can you please update the old URL with the new variables you created? remove 2016/10 and make it the month and year variables.
  5. Also, please make the "month" variable to actually be "m"
  6. Please also make the "year" variable to actually be "y"

Looks great otherwise.


Scott Monday, March 28, 2016 2:34 AM #

Im really impressed with this.  Looks like you touched all the code.  Thanks for writing clean code!


Scott Monday, March 21, 2016 8:42 PM #

Add it to the URL.  Don't put it in sessions.


Dhara Sunday, March 20, 2016 11:18 AM #

Shell i store calendar state in session or you wante to pass with URL?

Powered by BugNET 1.6.339.0