From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 26 Jun 2008 17:05:55 +0000 Subject: changed your-site.com to example.com doc-wide --- user_guide/libraries/pagination.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/libraries/pagination.html') diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index 65529be43..a631aa462 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -70,7 +70,7 @@ Pagination Class $this->load->library('pagination');

-$config['base_url'] = 'http://www.your-site.com/index.php/test/page/';
+$config['base_url'] = 'http://example.com/index.php/test/page/';
$config['total_rows'] = '200';
$config['per_page'] = '20';

@@ -121,9 +121,9 @@ something different you can specify it.

will place two digits on either side, as in the example links at the very top of this page.

$config['page_query_string'] = TRUE

By default, the pagination library assume you are using URI Segments, and constructs your links something like

-

http://www.your-site.com/index.php/test/page/20

+

http://example.com/index.php/test/page/20

If you have $config['enable_query_strings'] set to TRUE your links will automatically be re-written using Query Strings. This option can also be explictly set. Using $config['page_query_string'] set to TRUE, the pagination link will become.

-

http://www.your-site.com/index.php?c=test&m=page&per_page=20

+

http://example.com/index.php?c=test&m=page&per_page=20

Note that "per_page" is the default query string passed, however can be configured using $config['query_string_segment'] = 'your_string'

Adding Enclosing Markup

-- cgit v1.2.3-24-g4f1b