We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2912
    • 315 Posts
    Hi All,

    I have a ditto page retrieving content with and via tags. I have added the &extender parameter to allow me to use a URL to rechange the sort order via a URL.

    I have some side links using tags within the content but what I would like to do is:

    When a users clicks a link via a tag they can then change that ditto result via a URL link.

    The page in question is: http://il2mdb.montydan.com/IL2MovieDB this displays the pages in a-z order.
    I can list the info via descending date order via a URL: http://il2mdb.montydan.com/IL2MovieDB?ditto_sortBy=createdon&ditto_sortDir=desc
    When I use a tag link: http://il2mdb.montydan.com/IL2MovieDB?tags=Aerobatics I would like the same page to allow me to click a URL to change the order of that "filtered" category.

    IE: http://il2mdb.montydan.com/IL2MovieDB?ditto_sortBy=createdon&ditto_sortDir=desc[/url]&tags=aerobatic[/b]

    Can this be done and how?
      BBloke
      • 36592
      • 970 Posts
      Does not this work ?
      http://il2mdb.montydan.com/IL2MovieDB?ditto_sortBy=createdon&ditto_sortDir=DESC&tags=Aerobatics
        • 2912
        • 315 Posts
        Yes it works but it’s how I get there that is stopping me from achieving it. I don’t think I explained my problem too well. Sorry.

        Well, as always I have it covered is a more basic fashion. You have given my brain a jolt to think on what I needed.

        I added 2 URL’s:
        Sort Order:<a href="[*id*]?ditto_sortBy=createdon&ditto_sortDir=DESC&tags=[+tags+]">Descending</a>
        <a href="[*id*]?ditto_sortBy=createdon&ditto_sortDir=ASC&tags=[+tags+]">Ascending</a>
        


        Thanks for replying you gave me the push I needed smiley

        Cheers.
          BBloke