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.

Pagination problem after latest update

March 16, 2014 8:42am

Subscribe [2]
  • #1 / Mar 16, 2014 8:42am

    chronistin

    104 posts

    I just upgraded to 2.8.1. Since then, there is a problem with pagination if the channel entries tag is displayed by month.

    This is my channel entries tag:

    {exp:channel:entries channel="journal|photos" site="stw|rm" display_by="month" limit="6" paginate="both"}

    Pagination links are pointing to the correct url, but it’s always the first page that is displayed.

    If I take out the display by parameter, everything works as expected:

    {exp:channel:entries channel="journal|photos" site="stw|rm" paginate="both"}

    Is this a bug? Expected changes? I could not find anything related in the docs.

  • #2 / Mar 16, 2014 7:33pm

    ahmad saad

    364 posts

    Hi,

    this can’t by done on all EE versions not just in 2.8.1

    display_by don’t work with pagination.

    the only way to get it work by hacking the EE code, or write some model which extended the original {channel:entries}

    actually I write one now for this purpose.

    I will post it here when it ready.

    Regard’s.

  • #3 / Mar 17, 2014 4:06am

    chronistin

    104 posts

    Well that’s strange, because it definitely worked for me before. (Used the page almost every day to check for past events ).

  • #4 / Mar 17, 2014 6:49am

    ahmad saad

    364 posts

    what is the EE version before upgraded ??

  • #5 / Mar 17, 2014 11:04am

    chronistin

    104 posts

    Not really sure, it was 2.6.? or 2.7.? (couldn’t find the info on the log from before the upgrade)

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

ExpressionEngine News!

#eecms, #events, #releases