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.

Show all entries excluding one

July 01, 2007 1:12pm

Subscribe [2]
  • #1 / Jul 01, 2007 1:12pm

    dolmance

    101 posts

    Hello, I have a page that shows the current entry and below there’s an entries list. I like this list shows all the entries but the current one. For example my URL is:

    http://www.domain.com/news/this-is-one-new/

    and I’d like to exclude “this-is-one-new” on the Weblog Entries Tag. A kind of:

    {exp:weblog:entries weblog="news" limit="15" exclude="{segment_2}”}

    is there a parameter or tip to make this?

    Thank you.

  • #2 / Jul 01, 2007 1:18pm

    Eric Barstad

    198 posts

    I think the offset parameter might be what you’re looking for.

  • #3 / Jul 01, 2007 1:39pm

    dolmance

    101 posts

    Is it possible to use offset=”{segment_2” ? I think it only excludes the last entries.

  • #4 / Jul 01, 2007 2:27pm

    silenz

    1651 posts

    Sound like the same requirement as here

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

ExpressionEngine News!

#eecms, #events, #releases