ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

I actually need duplicate entry_id results. How?

March 24, 2010 6:17pm

Subscribe [2]
  • #1 / Mar 24, 2010 6:17pm

    jorlee90

    7 posts

    I need {exp:weblog:entries entry_id="305|305|305"}

    to actually output my info 3 times.

    Is that possible somehow??

  • #2 / Mar 24, 2010 6:24pm

    Lisa Wess

    20502 posts

    jlee, that’s not possible; but why would you need to do that? perhaps if you can tell us your goal we can help you come up with a solution.

  • #3 / Mar 24, 2010 10:22pm

    Alex Kendrick

    203 posts

    What about

    {exp:weblog:entries entry_id="305"}
    {/exp:weblog:entries}
    
    {exp:weblog:entries entry_id="305"}
    {/exp:weblog:entries}
    
    {exp:weblog:entries entry_id="305"}
    {/exp:weblog:entries}

    That will output your entry three times.

  • #4 / Mar 25, 2010 9:31am

    jorlee90

    7 posts

    Thanks but that wouldn’t work for me as I need them in a fixed order. Like {exp:weblog:entries entry_id=“305|310|675|305”} fixed_order=“305|310|675|305”.  But I need that second 305 to load results in the fixed order.

    Can the weblog entries tag be inside a php loop? That in theory would give the results I need.

  • #5 / Mar 25, 2010 1:56pm

    Lisa Wess

    20502 posts

    Why do you need entry ID 305 to show multiple times, jlee?  Perhaps there is a better approach to this?

    Yes, you can likely accomplish something like what you want using PHP.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases