From e01fd0fc3b694d12dc6b968727bd7f21f8c1a0fb Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 5 Jul 2010 11:06:07 -0400 Subject: suppress page list --- user_guide/libraries/pagination.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'user_guide/libraries') 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.

$config['num_tag_close'] = '</div>';

The closing tag for the "digit" link.

+

Hiding the Pages

+ +

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:

+ + +$config['display_pages'] = FALSE; + + +

Adding a class to every anchor

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.

-- cgit v1.2.3-24-g4f1b