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.

is offset supposed to work with orderby=random?

April 20, 2011 5:38pm

Subscribe [2]
  • #1 / Apr 20, 2011 5:38pm

    fogcity

    260 posts

    I want to output two weblog entries:

    - the most recent entry

    - a random entry that is not the most recent

    seems like the easiest way to do this would be to use offset=“1” along with orderby=“random” but offset seems to be ignored.

    am i wrong?

    suggestions?

  • #2 / Apr 20, 2011 8:34pm

    Sue Crocker

    26054 posts

    Hi, Fogcity. How often do you update your entries? Would it work to change the status of the most recent entry to be something like featured, and then do the random. It’s not the best method, but it would work.

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

ExpressionEngine News!

#eecms, #events, #releases