I am using an add-on that that outputs a list of messages.
As is the same with the other native ExpressionEngine tags, it is dependent on the pagination value on the URL to determine the offset.
The problem lies in a specific use case where if no "P" value is set in the URL, I want the add-on to get the "10 latest messages". Since 'P' value is not available, I don't know if the "10 latest message" is possible to get.
I was thinking if there is a way to set the "P" value when page is just starting to load.
Is there a way to do this? If not, any suggested alternatives to this issue?