From 11c5f1654d2d13113ad06da46f560628d7e31dd3 Mon Sep 17 00:00:00 2001
From: Aaron Kuzemchak
Date: Sat, 3 Sep 2011 20:59:07 -0400
Subject: Enables real page numbers for URI segment in Pagination library
---
user_guide/libraries/pagination.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'user_guide')
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html
index 196555441..6a144114d 100644
--- a/user_guide/libraries/pagination.html
+++ b/user_guide/libraries/pagination.html
@@ -119,7 +119,11 @@ something different you can specify it.
The number of "digit" links you would like before and after the selected page number. For example, the number 2
will place two digits on either side, as in the example links at the very top of this page.
-$config['page_query_string'] = TRUE
+
+$config['use_page_numbers'] = TRUE;
+By default, the URI segment will use the starting index for the items you are paginating. If you prefer to show the the actual page number, set this to TRUE.
+
+$config['page_query_string'] = TRUE;
By default, the pagination library assume you are using URI Segments, and constructs your links something like
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.
--
cgit v1.2.3-24-g4f1b
From 44e6182d2e50aef657511660b96486a2c8f8d78d Mon Sep 17 00:00:00 2001
From: Aaron Kuzemchak
Date: Tue, 20 Sep 2011 21:29:30 -0400
Subject: Updating changelog
---
user_guide/changelog.html | 1 +
1 file changed, 1 insertion(+)
(limited to 'user_guide')
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index fb6e4493a..ad4f6c703 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -97,6 +97,7 @@ Change Log
Added max_filename_increment config setting for Upload library.
CI_Loader::_ci_autoloader() is now a protected method.
Added is_unique to the Form Validation library.
+ Added $config['use_page_numbers'] to the Pagination library, which enables real page numbers in the URI.
Core
--
cgit v1.2.3-24-g4f1b