I’ve got.. hmm how should I put this....
I’v got three columns, first column selects the latest newsarticle (child), second column is a listing of al the articles (children) en the third column is a reflect snippet to filter the second column to a certain year or month (plus the first column returns the latest of the second column).
When you click on one of the listed articles you go to the article, which is exactly the same as the container/parent, but now the firsdt column is the article you clicked on.
What I need is to pass the reflect filtering on to this page so that the filtering is still ’active’. How am I to do this?
Do I need to use the request extender? And if so: how?
ditto/reflect calls for the page(s):
1st column:
[[Ditto? &id=`news` &parents=`10` &display=`1` &tpl=`nieuws_tpl` &extenders=`dateFilter` &dateFormat=`%d-%B-%Y` &dateSource=`pub_date` &sortBy=`pub_date` &showPublishedOnly=`1`]]
2nd column
[[Ditto? &id=`news` &parents=`10` &display=`10` &tpl=`nieuwslist_tpl` &paginate=`1` &extenders=`dateFilter` &dateFormat=`%d-%B-%Y` &dateSource=`pub_date` &sortBy=`pub_date` &paginateAlwaysShowLinks=`1` &showPublishedOnly=`1`]]
3rd column
[[Reflect? &getDocuments=`1` &parents=`10` &id=`news` &groupByYears=`1` &dateSource=`pub_date` &tplContainer=`nieuwsarchief_container_tpl` &tplYear=`nieuwsarchief_year_tpl` &tplMonth=`nieuwsarchief_month_tpl` &showItems=`0` &monthSortDir=`desc`]]