summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorAaron Kuzemchak <aaron@kuzemchak.net>2011-09-04 02:59:07 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-11-08 15:46:35 +0100
commitda8a560802501cb660952dccab3f3761352c323c (patch)
treeaba0347366805d15cc13756b6c889503b375abdf /user_guide/libraries
parent03192a087965e6927a4842e49f5fd825dedd350f (diff)
Enables real page numbers for URI segment in Pagination library
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/pagination.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html
index b5f971f5a..6478694d0 100644
--- a/user_guide/libraries/pagination.html
+++ b/user_guide/libraries/pagination.html
@@ -119,7 +119,11 @@ something different you can specify it.</p>
<p>The number of &quot;digit&quot; 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.</p>
-<h4>$config['page_query_string'] = TRUE</h4>
+
+<h4>$config['use_page_numbers'] = TRUE;</h4>
+<p>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.</p>
+
+<h4>$config['page_query_string'] = TRUE;</h4>
<p>By default, the pagination library assume you are using <a href="../general/urls.html">URI Segments</a>, and constructs your links something like</p>
<p><code>http://example.com/index.php/test/page/20</code></p>
<p>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.</p>