We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17654
    • 7 Posts
    OK...I have a main page that shows the following:
    1- The latest article entered or created separated from the list of articles in its own div
    2- right beloww I have the last three articles entered before the latest article described in step 1 also in their own div
    3- How I can display the rest of the articles in a list without displaying those articles that are already displayed.

    This is my code for Main or latest article created:

    <div class="mainArticleFeatured">
    [!Ditto? &parents=`[*id*]` &tpl=`featuredArticle`
    &extenders=`summary` &queryLimit=`0` &display=`1`
    &amp;orderBy=`createdon DESC`!]</div>
    <div class="clear">&nbsp;</div>

    This is the code to display the latest 3 article after (they are in a row with 3 columns):


    <div id="col1" class="column">
    [!Ditto? &parents=`[*id*]` &tpl=`featuredArticleColumn`
    &extenders=`summary`&queryLimit=`1,2` &display=`1`
    &orderBy=`createdon DESC`!]
    </div>

    <div id="col2" class="column">
    [!Ditto? &parents=`[*id*]` &tpl=`featuredArticleColumn`
    &extenders=`summary`&queryLimit=`2,1` &display=`1`
    &orderBy=`createdon DESC`!]
    </div>

    <div id="col3" class="column">
    [!Ditto? &parents=`[*id*]` &tpl=`featuredArticleColumn`
    &extenders=`summary`&queryLimit=`3,1` &display=`1`
    &orderBy=`createdon DESC`!]
    </div>

    Now when I want to display the list of articles without displaying those articles showing above.
    Your help will be appreciated.