Jump to content

MarkupPagerNav: How to remove redundant separatorItemLabel?


Clarity
 Share

Recommended Posts

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>&hellip;</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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...