summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2010-07-05 17:06:07 +0200
committerDerek Allard <derek.allard@ellislab.com>2010-07-05 17:06:07 +0200
commite01fd0fc3b694d12dc6b968727bd7f21f8c1a0fb (patch)
tree3355999eefcd2cc3cf38d12650c6134fbfcefd67 /user_guide/libraries
parent96bb75cd4e9b1cbd82fe7496e9b831054c8228f1 (diff)
suppress page list
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/pagination.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html
index 33c871078..521b708b1 100644
--- a/user_guide/libraries/pagination.html
+++ b/user_guide/libraries/pagination.html
@@ -197,6 +197,15 @@ something different you can specify it.</p>
<h4>$config['num_tag_close'] = '&lt;/div>';</h4>
<p>The closing tag for the "digit" link.</p>
+<h2>Hiding the Pages</h2>
+
+<p>If you wanted to not list the specific pages (for example, you only want "next" and "previous" links), you can suppress their rendering by adding:</p>
+
+<code>
+$config['display_pages'] = FALSE;
+</code>
+
+
<h2>Adding a class to every anchor</h2>
<p>If you want to add a class attribute to every link rendered by the pagination class, you can set the config "anchor_class" equal to the classname you want.</p>