Jump to content
  • Status: Moved to Github

None of the default custom templates in v5 displays a next page click the button. Maybe it's not a bug and was meant to be like this. How do I navigate to the next page when the database display settings are set to view 4 posts per page out of 50 posts?

The default grid, row and all the others have a next page button.

Screenshot 2025-02-10 at 7.22.49 pm.jpg

The Index layout custom, "Category 3 columns image is featured", and all the other default custom templates do not have a next page button.

Screenshot 2025-02-10 at 7.24.29 pm.jpg

Screenshot 2025-02-10 at 7.24.12 pm.jpg

User Feedback

Recommended Comments

Matt

Management
  • Management

Those are older templates and likely need updating. Generally we recommend using the default single column and using the Page Editor to create the columns.

beats23

Clients

This is from a clean V5 install. Are all those custom templates included in the V5 install out of date templates?

beats23

Clients

Also, I don't see single-column templates index layout. I only see those installed.

Screenshot 2025-02-11 at 9.27.24 am.jpg

beats23

Clients
 

Those are older templates and likely need updating. Generally we recommend using the default single column and using the Page Editor to create the columns.

It looks like a bug. The code for the next page pagination is in the template but it doesn't display due to the "if" parameters. If I remove "{{if $database->featured_settings['pagination'] and ( $pagination['pages'] > 1 )}} {{endif}}" from the code the next page buttons displays.

{{if $database->featured_settings['pagination'] and ( $pagination['pages'] > 1 )}}

{template="pagination" app="core" location="global" group="global" params="$url, $pagination['pages'], $pagination['page'], $database->featured_settings['perpage'], TRUE, 'page'"}

{{endif}}

The buttons displays correcting when "if" code is removed.

Screenshot 2025-02-11 at 10.23.57 am.jpg

Esther E.

Invision Community Team
 

Also, I don't see single-column templates index layout. I only see those installed.

Screenshot 2025-02-11 at 9.27.24 am.jpg

The default is a single column layout, and therefore there's no reason to list it under the "custom" dropdown.

beats23

Clients

Ok, I see. Thanks for that clarification.