07-06-2009, 02:59 PM
[eluser]J. Pavel Espinal[/eluser]
A good example of using pagination.php for default settings, is when you have a funny designer who made the pagination as part of the design
, then you have to use a lot of '<div>' and stuff in order to make some things as default, e.g:
$config['prev_tag_open'] = '<div class="botton_pagin">';
$config['previous_link'] = '<img src="'. base_url() .'images/arrow_left.png" alt="Anterior" width="36" height="36" border="0" />';
$config['prev_tag_open'] = '</div>';
Under these circumstances, you would not want to do that manually over and over and over again (Note: that's just a little bit of how the entire 'default' should look like in my case).
If 'pagination.php' wouldn't exist, even Freddy Krueger would not be able to plan a worst nightmare
A good example of using pagination.php for default settings, is when you have a funny designer who made the pagination as part of the design

$config['prev_tag_open'] = '<div class="botton_pagin">';
$config['previous_link'] = '<img src="'. base_url() .'images/arrow_left.png" alt="Anterior" width="36" height="36" border="0" />';
$config['prev_tag_open'] = '</div>';
Under these circumstances, you would not want to do that manually over and over and over again (Note: that's just a little bit of how the entire 'default' should look like in my case).
If 'pagination.php' wouldn't exist, even Freddy Krueger would not be able to plan a worst nightmare
