
7 Sep
2016
7 Sep
'16
11:59 a.m.
My global configurations for pagination are in /config/pagination.php. In that file, the line below seems to have no effect (i.e. the class is not applied to each anchor): *// If you want to add a class attribute to every link rendered by the pagination class* *$config['attributes'] = array('class' => 'pagination_links');* However, if I add the same line to the controller/method where I am using it (as show below), it works fine. *$config['attributes'] = array('class' => 'pagination_links');* *$this->pagination->initialize($config);* What am I missing?