jmfs's avatar
Level 6

How to use pagination.php to change next/prev arrows

There's a file /resources/lang/en/pagination.php that has next/prev entries for the pagination arrows in it - how do I get my pagination to use this file?

0 likes
4 replies
rodrigo.pedra's avatar
Level 56

Those strings are used when you opt for the simple pagination:

// example from the docs
$someUsers = User::where('votes', '>', 100)->simplePaginate(15);

take a look at: [ http://laravel.com/docs/5.0/pagination ].

If you opt for the ->paginate() method, those strings are not going to be used.

1 like
jmfs's avatar
Level 6

So i'd have to make a custom paginator just to change the arrow style for the normal paginator?

1 like

Please or to participate in this conversation.