midascodebreaker's avatar

Jeffrey way How did you do the pagination in Laracast?

Hi Jeff, I wonder how can i achieve the same pagination you used in laracast... i have this problem where pagination looks aweful when i render it in my view...

it looks like this

<  1 2 3 4 5 6 7 8 9 ... 
13 14 15 >

It break on the next line on mobile devices...

I already posted here once about this, but no one knows how to make it retrieve a finite amount of page link as such

lets say i want to display only 4 pages link

< 1 2 ... 14 15 >

You get the idea...

But since i saw your pagination, i would like to ask how you do it on your custom pagination file...

your pagination looks like this

[           <           ]
[          1            ]
[          2            ]
[          3            ]
[         4             ]
[         >             ]

I wanna adapt this one...

Hope you can help me witht his one thanks

0 likes
0 replies

Please or to participate in this conversation.