Page 1 of 1

Swtich between Calendar view and List view?

Posted: Tue Oct 30, 2018 8:17 am
by thehay95
This is probably something very simple. I am not very clear on how to do this though. I have my calendar in Calendar view on one page. And I would like have navigation to switch it to List view.

What I have done is to create a second page with the Calendar in list view, and linked to that page. Is this the correct way to do this, or is there another way to do this?

Thank you.

Re: Swtich between Calendar view and List view?

Posted: Tue Oct 30, 2018 4:06 pm
by DIGI3
Nothing wrong with doing it that way, but if you wanted to get fancier you could have both calls on one page and use javascript/jquery to toggle between them. Even fancier, you could use ajax to pull in the appropriate view from a hidden page.