We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7515
    • 10 Posts
    I have Ditto summarizing blogs, Reflect displaying a by month archive and TvTagCloud displaying tags. If I click a tag, only those articles tagged appropriately show. If I then click on an archive link, Reflect takes that tag and appends the date filter on top of this. The end result is Ditto shows only the articles that match the tag AND the date selected.

    How do I get Reflect to generate links without tags or any other http variables appended?

    Steps to reproduce:
    1. View the live site: http://lessonsforahappymarriage.com/relationship-advice-blog.html
    2. Click a tag (ie relationship advice)
    3. Click a date (ie December)
    4. Look at the URL. The results have both filters applied, not just the date.

    Documents:
    ID 14: Relationship-advice-blog.html
    ID 5: Blog folder (blog.html)

    Reflect call stored in chunk:
    [!Reflect?config=`wordpress` &targetID=`14` &getDocuments=`1` &dittoSnippetParameters=`parents:5` &id=`wp` &tplMonth=`BlogArchive tplMonth` &dateSource=`pub_date` &dateFormat=`%B %d, %Y` !]


    Relationship-Advice-Blog.html ditto call
    [!Ditto? &id=`wp` &summarize=`7` &paginate=`1` &paginateAlwaysShowLinks=`1` &extenders=`dateFilter` &tpl=`Blog tpl` &parents=`5` &sortBy=`pub_date` &dateSource=`pub_date` &dateFormat=`%B %d, %Y` &tagData=`myTags` &tagDelimiter=`, `!]


    MODx 0.9.6.2
    Ditto/Reflect 2.1

    Thanks!
    Cory
      • 36416
      • 589 Posts
      Quote from: discipline at Dec 26, 2008, 10:25 PM

      I have Ditto summarizing blogs, Reflect displaying a by month archive and TvTagCloud displaying tags. If I click a tag, only those articles tagged appropriately show. If I then click on an archive link, Reflect takes that tag and appends the date filter on top of this. The end result is Ditto shows only the articles that match the tag AND the date selected.

      How do I get Reflect to generate links without tags or any other http variables appended?

      Only by rewritting Ditto::buildURL function that is used inside Reflect.