I have a calendar. Currently viewable by year.
I need to add in a drop down/list of some sort which will show
January 2015
February 2015
...
When the user selects from the list I need to show only entires from that particular month. What is the correct way of achieving this?
I have the following in mind.
I pass variables to the URL either POST or GET so the url looks like
domain.com/calendar/january/2016
or
domain.com/calendar?month=january&year=2016
Then return the variables, using start_on & stop_before work some magic.
Similar as to above, I could pass some variables into a session & again use the content of the variables to affect my exp loop.
How would you perform this, is my logic sound or is there a simpler way?