John W. Posted June 27, 2018 Share Posted June 27, 2018 (edited) Look around for a while, but, no luck. Using the built in pagination, renderPager(); With pagination, is there a way to append a named anchor to the renderPager() page number? for instance: instead of the default somesite.come/inventory/page2 but, add an anchor... somesite.com/inventory/page2#myanchor or Or, would I have to put the anchor name into a segment, get the name, then use javascript to jump to the anchor? such as somesite.com/inventory/myanchor/page2 thanks Edited June 27, 2018 by John W. using renderPager(); Link to comment Share on other sites More sharing options...
maxf5 Posted June 28, 2018 Share Posted June 28, 2018 echo $results->renderPager(array( 'linkMarkup' => "<a href='{url}#YOURANCHOR'><span>{out}</span></a>" )); 5 2 Link to comment Share on other sites More sharing options...
John W. Posted July 8, 2018 Author Share Posted July 8, 2018 Thanks maxf5! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now