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.

URL Match Breaks Weblog Loop

February 14, 2011 5:24pm

Subscribe [1]
  • #1 / Feb 14, 2011 5:24pm

    Napco

    19 posts

    The template below only returns one entry (as opposed to 10) whenever the URL contains a match to a blog entry.

    It happens even when calling the template directly. In other words….

    WORKS (returns 10)
    http://foo.bar.com/tech/latest-headlines/

    DOES NOT WORK (returns 1)
    http://foo.bar.com/tech/latest-headlines/some-blog-post/

    WORKS (returns 10)
    http://foo.bar.com/tech/latest-headlines/BLAHsome-blog-post/


    Why does the loop functionality break in such cases? (we are on 1.6.7 Build: 20090320)

    Thanks!

    -Marc

    
    									
  • #2 / Feb 14, 2011 5:36pm

    Ingmar

    29245 posts

    The template below only returns one entry (as opposed to 10) whenever the URL contains a match to a blog entry.

    That is, in fact, expected functionality. If you don’t it, use

    dynamic="off"

    in your tag. EE will then ignore the URL, as it were.

  • #3 / Feb 14, 2011 5:58pm

    Napco

    19 posts

    That got it, thanks.

  • #4 / Feb 14, 2011 6:03pm

    Ingmar

    29245 posts

    Glad to hear it. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases