Hello friends, your help is necessary!
There are 2 points of the menu with the enclosed subparagraphs.
news1(id=2)
1-1
1-2
1-3 and etc.
news1-result page (id=64) (in this page we can see all articles of one month. These articles will be taken by choicing an archive for this month)
news2(id=15)
2-1
2-2
2-3 and etc.
news2-result page (id=65)
The task in view to organise 2 archives of the news grouped by the month.
With one point of the menu all works, with the second I can not understand. The description:
news1 code:
----------------------------------------------------------------------------------------------------------------
[[Ditto? &parents=`2` &display=`3` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]
It is shown [+start+] - [+stop+] of [+total+] articles
[+previous+] [+pages+] [+next+]
[[Reflect? &config=`wordpress` &targetID=`64`&dittoSnippetParameters=`parents:2` &id=`wp` &getDocuments=`1`]]
----------------------------------------------------------------------------------------------------------------
news1-result code:
----------------------------------------------------------------------------------------------------------------
[+wp_month+] [+wp_day+] [+wp_year+]
[!Ditto? &id=`wp` &extenders=`dateFilter` &parents=`2`!]
----------------------------------------------------------------------------------------------------------------
ALL WORKS! But..
news2 code:
----------------------------------------------------------------------------------------------------------------
[[Ditto? &parents=`15` &display=`3` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]
It is shown [+start+] - [+stop+] of [+total+] articles
[+previous+] [+pages+] [+next+]
[[Reflect? &config=`wordpress` &targetID=`65`&dittoSnippetParameters=`parents:15` &id=`rv` &getDocuments=`1`]]
----------------------------------------------------------------------------------------------------------------
news2-result code:
----------------------------------------------------------------------------------------------------------------
[+rv_month+] [+rv_day+] [+rv_year+]
[!Ditto? &id=`rv` &extenders=`dateFilter` &parents=`15`!]
----------------------------------------------------------------------------------------------------------------
It doesn’t work...
Correct my code.
STAN.
The task in view to organise 2 archives of the news grouped by the month.
Try
In Ditto call &parents=`1,2` (if you have 2 folders with the ID’s of 1 and 2)
In Reflect call &dittoSnippetParameters=`parents:1,2`