I want to use pagination to display search results and thats in catalog folder outside admin.
I got that function split pageresults which works fine inside admin for pages, but how to use it for pages outside admin.