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

    I'm working on a site that will have 5 different articles containers for 5 different writers and I want a way to output the latest article from each container to a box on the home page. Basically the home page will have 5 boxes and these will display the teaser text.

    I have installed Articles and set up the containers and test articles however although I have tried calling articles contained in separate articles containers it is just outputting 2 versions of the same article in both boxes. Here is an example of the code I am using to call the articles:

    <div class="WhiteTextBox">[[Articles? &container=`20`]]
    [[+articles]]
      </div>
    <div class="WhiteTextBox">[[Articles? &container=`24`]]
    [[+articles]]
      </div>


    Here is a preview of the home page so you can see what I mean http://www.fifthplinthwriters.co.uk/index.php (ignore the rest as I haven't finished setting up the rest of the pages)

    The teaser text is outputting fine exactly as I want it to but I can't seem to make it show 2 different article teasers even though they are in separate containers with their own ID number.

    Do I need to add anything else to make it more specific? I've tried searching through the forum but I couldn't see anything that related specifically to this problem. Any ideas would be most appreciated?

    Thanks in advance





    [ed. note: galahad5 last edited this post 12 years, 6 months ago.]