Clarity Posted August 10, 2022 Share Posted August 10, 2022 Hello everyone! I have an issue with MarkupPagerNav module. When I have 6 pages and stay on pages 1-4, the separatorItemLabel is being shown between 5 and 6 while it shouldn't. My options are following: $options = array( 'numPageLinks' => 5, 'nextItemLabel' => '>>', 'nextItemClass' => '', 'previousItemLabel' => '<<', 'previousItemClass' => '', 'lastItemClass' => '', 'currentItemClass' => 'active', 'separatorItemLabel' => '<span>…</span>', 'separatorItemClass' => '', 'listMarkup' => "<ul>{out}</ul>", 'itemMarkup' => "<li>{out}</li>", 'linkMarkup' => "<a href='{url}'>{out}</a>", 'currentLinkMarkup' => "<span class='current-page' href='{url}'>{out}</span>" ); Can you please tell me where I am wrong? Link to comment Share on other sites More sharing options...
Clarity Posted August 10, 2022 Author Share Posted August 10, 2022 I found a solution: increased numPageLinks from 5 to 10. 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