Filter listmode for year?
I have the calendar up on a site that need to archive their events in a particular way.
I currently have a ListMode on page that is set to lists all the events for the current year for a particular category. I do not need the filter plug in for a category change, as this category will never change.
But I would like some kind of dropdown YEAR selection - so that it shows the current year, but can view the previous year list by selecting the year in a dropdown -
<?php $LIST=1; $DF = "M d Y - l"; $listYear = "2005";
$template="modern1_2.php"; $noOld = 0; $showCat="1|4|2|5|"; require ("calendar/calendar.php"); ?>
So really, I'm just wanting to swap out the "$listYear=2005" with the year picked from the dropdown -
problably dead simple php for those who know it, but I haven't a clue -
any ideas or pointers - or possible future modification of the cat filter plugin?!!