Hi Forum,
I’m going a bit bonkers. I’m trying to display only documents from the past two years with Reflect. Unfortunately, I can’t figure out how to skip the current year.
Currently, I can only figure out how to display the links like this:
2010
2009
But I need:
2009
2008
--------------
Please find my current &filter parameter below:
&dittoSnippetParameters=`filter:createdon,@EVAL return strtotime('-2 year');,3'
The parameter in the snippet:
[!Reflect? &targetID=`536` &extenders=`dateFilter,summary` &getDocuments=`1` &id=`wp` &groupByYears=`1` &tplMonth=`` &tplMonthInner=`` &dittoSnippetParameters=`parents:240,248,244|filter:createdon,@EVAL return strtotime('-2 year');,3` &yearSortDir=`DESC`!]
I’m a little fuzzy right now so I wouldn’t even recognize the solution if I was staring right at it!
Any help is appreciated!
Thanks in advance,
Sarah