Paging Plugin

Hey Luis,

As you wrote this maybe you can help me understand the PagingBandGap when I set this to 20 and then do the following as an example.

#getMyPlugin(“paging”).renderit( 3000, ‘/handler/action/item/@page@’)#

It displays the Carrousel correctly, but if I click on the next page link, it then adds another page.

So instead of displaying 1 to 20 it then display 1 to 21, am I understanding this right?

Regards,

Andrew Scott

Hey Luis,

As you wrote this maybe you can help me understand the PagingBandGap when I set this to 20 and then do the following as an example.

#getMyPlugin(“paging”).renderit( 3000, ‘/handler/action/item/@page@’)#

It displays the Carrousel correctly, but if I click on the next page link, it then adds another page.

So instead of displaying 1 to 20 it then display 1 to 21, am I understanding this right?

Regards,

Andrew Scott

That’s ok, couldn’t work out what you were doing and have completely rewritten it.

So now you get something like this

<< Previous 1 2 … 7 8 9 10 11 12 13 14 15 16 17 … 49 50 Next >>

Maybe not perfect, but when I get a chance will resubmit for others to enjoy.