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.

how to separate Odd and Even posts in a blog.

September 17, 2011 12:26pm

Subscribe [2]
  • #1 / Sep 17, 2011 12:26pm

    zhangfei

    62 posts

    Hello ,

    I am working on a site and the blog layout should be two column. One column displaying the Odd post and the other column displaying the Even post. I haven’t had any problems doing this with wordpress and php but in expression engine nothing comes to mind.

    i thought about this :

    <div class="odd">
    {exp:channel:entries channel="blog" POST="ODD"}
    </div>
    
    <div class="even">
    {exp:channel:entries channel="blog" POST="EVEN"}</div>

    but the Odd / even parameter doesn’t seem to exist 😉

    I would rather not have to use custom fields as it would rather be a pain to check eveytime if it’s odd or even.

    Any brilliant ideas ?

    thanks for any help

    regards

  • #2 / Sep 19, 2011 1:16pm

    MH_Jez

    52 posts

    Hi zhangfei

    I haven’t used this add-on personally but you might want to take a look at Splitter over on Devot:ee

    Hopefully that will do the trick for you.

  • #3 / Sep 19, 2011 5:21pm

    zhangfei

    62 posts

    thanks I will try this out. It looks like it could do the trick perfectly well.

    Cheers

    regards

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

ExpressionEngine News!

#eecms, #events, #releases