We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4224
    • 11 Posts
    I need to have a cycle through 60 articles, one per day. This would be a link that is on the home page. When you roll over the link a layer would pop-up with more content in it. If you wantec to read the artical you would click the more link to go to the article page.

    Does anyone have any Idea how I can do this?

    Thanks

    Jeff
      • 25663 MODX Staff
      • 12,272 Posts
      Set up a series of sixty pages with auto-publishing options properly configured.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 4224
        • 11 Posts
        That is a great idea. Thanks Ryan.

        How could this be set-up to start over after the sixty have run?

        Thanks

        Jeff
          • 25663 MODX Staff
          • 12,272 Posts
          You’d have to manually reset it. What I’d do in that case is to create a set of documents that are not published and set the menu index on them in the order you want them to appear. Then write a snippet that compares the start date to today and figures out which one it should link to. If you need to handle publishing so there’s no other way to get there, you could write a plugin with logic to set the publishing status of all of those as well.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 4224
            • 11 Posts
            Thanks for the help with this.

            Jeff