Jump to content
Jason Huck

Detect page number.

Recommended Posts

I'm customizing some search results and have to explicitly reset the values for the start and total on each page. I've got it all working except I'm not sure how to detect when I'm on e.g. /page2/. I tried $input->urlSegment1, but it's empty. I'm sure there's an easy way to grab the current page value when pagination is in use?

Thanks!

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...