From c6238e983455ba4ab08ad9bf4d6d5d7f75d8c10c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 21 May 2008 05:04:26 +0000 Subject: customizable query string --- user_guide/libraries/pagination.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index d96f2d00c..d91a73eea 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -124,7 +124,7 @@ something different you can specify it.

http://www.your-site.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

-

Note that "per_page" is the string automatically passed.

+

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

Adding Enclosing Markup

If you would like to surround the entire pagination with some markup you can do it with these two prefs:

-- cgit v1.2.3-24-g4f1b