[[Ditto? &id=`listup` &parents=`360` &display=`10` &tpl=`entrylist-title` &sortBy=`pub_date` &sortDir=`DESC` &showInMenuOnly=`1` &language=`japanese-utf8` &dateFormat=`%Y.%m.%d %R` &dateSource=`pub_date` &extenders=`dateFilter`]]
[!Reflect? &getDocuments=`1` &id=`listup` &dittoSnippetParameters=`parents:360` &showItems=`0` &targetID=`382` &dateSource=`pub_date` &groupByYears=`0` &tplContainer=`ref-cont-side-list` &tplMonth=`ref-month-side-list`!]
ただし、年が2005年と1969年(1969年の方は、根拠不明ですが。。。)というふうにアーカイブ表示がなされ、
そしてそのアーカイブのリンク先も変(どちらのアーカイブ項目をクリックしてもすべての記事が表示される)という状態ですが、もう少しな感じです。

1969年ですか? 私のところでは1970年です。こちらは、そうだと思います。公開日が入力されていないと、1970年に分類されるようです。
想像ですが、公開日時(pub_date)は全ての記事で入力されているわけではない状態です。
なんだか、Dittoと一緒に使うわりに、統一感がありませんね~
こちらは、そうだと思います。公開日が入力されていないと、1970年に分類されるようです。


そうなんですね~ 同一ページに1つずつのDittoとReflectの場合はいらないと思ってました。
それと、idは、ページ内にDitto callがひとつの場合でも必要になります。
MODx0.9.6.1付属のReflectでの変更例です。
もしよろしかったらReflectのコードのどの部分を修正したらよいか教えていただけるとありがたいのですが。。。
// loop and fetch all the results
for ($i = $start; $i < $stop; $i++) {
$date = getdate($resource[$i][$archiveDateSource]);
$year = $date["year"];
$month = $date["mon"];
$cal[$year][$month][] = $resource[$i];
}
$date = ($resource[$i][$archiveDateSource] != "0") ? getdate($resource[$i][$archiveDateSource]) : getdate($resource[$i]["createdon"]);
