We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28033
    • 925 Posts
    1) I’m already showing the five most recent articles. Is there anyway to have a similar Ditto call, but have it start from the sixth most recent article (like a "older articles" thing that would list 5-10 more articles, but via the heading + a description)?

    2) Anyway (maybe w/ another script), to have a "Most Popular" articles list?
      My Snippets
      -> PopUpChunk v1.0
      • 3707
      • 241 Posts
      For the first one, use the start parameter. Add &start=`5` to your Ditto call to skip the first 5 results.
        • 28033
        • 925 Posts
        Quote from: bob1000 at Mar 27, 2009, 10:36 AM

        For the first one, use the start parameter. Add &start=`5` to your Ditto call to skip the first 5 results.

        Ooh nice, thanks.

        I’m probably guessing that other idea is probably going to have a be a custom solution, though (due to needing to track the visits to X news article).
          My Snippets
          -> PopUpChunk v1.0
          • 7231
          • 4,205 Posts
          You can have top posts but you need to be using a page counter and set the pages to Log visits (stats) to record the hits. I have seen this discussed in the forum before but I can’t find it in my bookmarks.

          Recommendation: edit the title of the post to something more descriptive to call the attention to the actual problem.
            [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

            Something is happening here, but you don't know what it is.
            Do you, Mr. Jones? - [bob dylan]
            • 28033
            • 925 Posts
            Quote from: dev_cw at Mar 28, 2009, 08:19 AM

            Recommendation: edit the title of the post to something more descriptive to call the attention to the actual problem.

            Gah, I had a few other ideas that I thought of a solution for as I was writing the post, and forgot to edit the title. xd
              My Snippets
              -> PopUpChunk v1.0
              • 3707
              • 241 Posts
              You could use Page Hit Counter and Page Hit Counter Results to create a "Most popular" list.
                • 28033
                • 925 Posts
                Quote from: bob1000 at Mar 29, 2009, 04:39 AM

                You could use Page Hit Counter and Page Hit Counter Results to create a "Most popular" list.

                I’ll have to look into if that snippet allows to limit where it logs the data from. Thanks for the links, though.
                  My Snippets
                  -> PopUpChunk v1.0