All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Events Pagination with Structure

Jeremy Abrahams 18 Dec 2014 16:25 problem, rejected

I am running into a problem with paginating low events. I have structure and freebie installed.

Clicking on the paginate "2" or ">" link appends the /P10 the URL, but the results are the same as the first page.

This one works:
{exp:low_events:entries channel="seminar" search:seminar_show_in_past="y" limit="6" sort="desc" paginate="bottom" paginate_base="education/seminars/archive/{freebie_4}/" unit="year" date="{freebie_4}"}

This one does not:
{exp:low_events:entries channel="seminar" unit="passed" search:seminar_show_in_past="y" limit="10" category="{segment_5_category_id}" paginate="bottom" paginate_base="education/seminars/archive/category/{freebie_5}/"}

Replies

  1. Low 18 Dec 2014 16:35

    If you replace the second low_events:entries tag with a native channel:entries tag (using the same paths/urls), does pagination work then?

  2. Jeremy Abrahams 18 Dec 2014 17:08

    Unfortunately no.

    Here's the native channel entry call
    {exp:channel:entries channel="seminar" dynamic="no" search:seminar_show_in_past="y" limit="10" category="{segment_5_category_id}" paginate="bottom" paginate_base="education/seminars/archive/category/{freebie_5}/"}

    in debug this shows the URI of a 'paginated' page (/P10) as:
    education/seminars

    In the working example above the paginated URI is:
    education/seminars/P6

  3. Low 19 Dec 2014 10:15

    If you get the same behaviour with the native channel:entries tag, then it's not a Low Events issue. It might be something related to Structure where the URI is changed internally. Best check with them.