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.

Front Page Rotators

June 07, 2010 11:25am

Subscribe [3]
  • #1 / Jun 07, 2010 11:25am

    TheBrad

    48 posts

    Hi!

    Is there a way to set an order for the front page rotators? We would like the graphics to rotate in a certain order - is that possible? And if so, how?

    Thanks!

    Becky Hadley
    Public Relations Manager
    The Repertory Theatre of St. Louis
    .(JavaScript must be enabled to view this email address)

  • #2 / Jun 07, 2010 11:43am

    Mark Bowen

    12637 posts

    Hi Becky,

    You could do this with the fixed_order=”“ weblog parameter in the first instance which is a built in method.

    If that’s not useful then you could either use something like Selected Items or one of the best ways nowadays to do this sort of thing is to use something like FieldFrame and Matrix to order multiple items.

    Hope that helps a bit.

    Best wishes,

    Mark

  • #3 / Jun 07, 2010 1:15pm

    TheBrad

    48 posts

    Thanks, Mark!  Quick question - if I use the fixed_order weblog, where do I write that in? You said the first sentence - but where exactly? Thanks again!

    Becky

  • #4 / Jun 07, 2010 1:34pm

    Mark Bowen

    12637 posts

    Thanks, Mark!  Quick question - if I use the fixed_order weblog, where do I write that in? You said the first sentence - but where exactly? Thanks again!

    Becky

    Hiya if you take a look at the documentation link for the fixed_order=”“ parameter then this should give a good idea of the sort of thing you can do with it.

    You would end up with code a bit like this :

    {exp:weblog:entries weblog="default_site" fixed_order="24|6|87"}
    <h2>{title}</h2>
    <p>{/exp:weblog:entries}

    This would mean that the entries would come out in the following order :

    Entry ID 24
    then
    Entry ID 6
    then
    Entry ID 87

    Hope that helps a bit. I really would advise with going the Matrix route on this one though as the power it will give you over these sorts of things would far outweigh any initial costs.

    Best wishes,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases