• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Storing pagination settings and changing them dynamically

#6
[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 Big Grin, 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 Tongue


Messages In This Thread
[SOLVED] Storing pagination settings and changing them dynamically - by El Forum - 07-06-2009, 02:59 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.