This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
xxx12345
I am currently working on a plugin that shows birthdays. To set the number of user per page I have implemented a "usersPerPage" property. Also I have created a pager that is using the ":page" slug.
On my test page this all works fine:
title = "test" url = "/test/:page" layout = "full" is_hidden = 0 [birthdayUsers] pageNumber = "{{ :page }}" noUsersMessage = "No users found" sortOrder = "birth_date desc" usersPerPage = 1 userPage = 404 == {% component 'birthdayUsers' %}
Question: Now I want to place my "birthdayUsers" component on the homepage. The url of the homepage must end with a slash (url="/"). Is there a way to add the :page slug to this homepage? (http://local.lan/?page=1, http://local.lan/?page=2 works but the pager urls are empty because of the missing :page slug).
Last updated
1-1 of 1