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.

display_by="day" question

October 27, 2007 2:09pm

Subscribe [1]
  • #1 / Oct 27, 2007 2:09pm

    asarbogast

    14 posts

    I am trying to show 4 days worth of entries from a weblog on a page. I want there to always be 4 days with content showing, so if there is a day without entries, that day should be skipped and the next day with entries should be included in the 4 days.

    I am using the following template code:

    {exp:weblog:entries weblog="diversions" display_by="day" limit="4" disable="member_data|pagination|trackbacks"}

    This is showing the entries from the last 4 days only, so that if there are no entries for today, today is skipped and nothing is added in it’s place, resulting in only 3 days of entries shown.

    Is this the correct behavior for display_by=“day”?  If so, is there a way to achieve what I’m looking for?

    [oops, I just realized I posted this in the wrong forum. Please feel free to move it for me. 😊 )

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

ExpressionEngine News!

#eecms, #events, #releases