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.

Skipping the first entry

May 22, 2012 12:27pm

Subscribe [3]
  • #1 / May 22, 2012 12:27pm

    JimmyNewbs

    3 posts

    Hi all,

    Is there a way within EE that you can choose to no show the first entry in a channel. In short I have a div showing the latest article at the top of the page, and a jquery carousel showing all the previous articles. It always shows the latest one at the front of the carousel, I would like it to show all except the first. Is this possible?

    Many thanks,

    James

  • #2 / May 22, 2012 12:30pm

    Stephen T

    127 posts

    Use the offset parameter in your channel entries tag for the carousel.

    http://ellislab.com/expressionengine/user-guide/modules/channel/channel_entries.html#offset

    So if you only want it to skip the latest one, you would make sure your channel entries are ordered and sorted as you want them and then use offset=“1”.

  • #3 / May 23, 2012 5:05am

    JimmyNewbs

    3 posts

    How did I miss that!!

    Perfect thank you!

    J

  • #4 / May 23, 2012 12:55pm

    Shane Eckert

    7174 posts

    Hello JimmyNewbs,

    Looks like Stephen was able to help you out here! That’s awesome!

    If you need anything else, please just let us know by opening a new thread.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases