We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28358
    • 2 Posts
    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.
      • 25663 MODX Staff
      • 12,272 Posts
      Why is this a poll?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 20413
        • 2,877 Posts
        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`
          @hawproductions | http://mrhaw.com/

          Infograph: MODX Advanced Install in 7 steps:
          http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

          Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
          http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower