Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to customize Pagination::slider view

I want to do some changes in Pagination::slider view, such as adding class and changing arrow style. How can I achieve that?

like image 206
Cysioland Avatar asked Jun 26 '13 10:06

Cysioland


1 Answers

You can change the view by adjusting the configuration option in app/config/view.php. Look for the pagination configuration option, by default it will be pagination::slider. This view namespace is set in the view environment.

Simply change this value to something like pagination.slider and then create the view in views/pagination/slider.php. You can then copy the original slider view and adjust it to fit your needs.

like image 61
Jason Lewis Avatar answered Oct 30 '22 13:10

Jason Lewis