We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18856
    • 12 Posts
    Trying to create a scrolling news and events element for a home page. Need some input on the easiest way to go about developing this.

    Requirements:

    • Revo
    • Only display the 6 latest posts
    • Only two articles per news-holder

    Here is the basic markup for the element:
    <div id="news-holder-1" class="news-holder">
        <div class="news-article"><a href="">longtitle - pubdate</a></div>
        <div class="news-article"><a href="">News Item 2</a></div>
    </div>
    <div id="news-holder-2" class="news-holder">
        <div class="news-article"><a href="">News Item 3</a></div>
        <div class="news-article"><a href="">News Item 4</a></div>
    </div>
    <div id="news-holder-3" class="news-holder">
        <div class="news-article"><a href="">News Item 5</a></div>
        <div class="news-article"><a href="">News Item 6</a></div>
    </div>
    


    EDIT: I apologize in advance if this is the incorrect Section to be posting this.
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      getResources would do the trick, just put one call in each slide. Some extra work and you could likely fully automate it.
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting