From 96bb75cd4e9b1cbd82fe7496e9b831054c8228f1 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 5 Jul 2010 10:54:30 -0400 Subject: Added the ability to suppress first, previous, next and last links by setting their values to FALSE in the pagination library. --- user_guide/libraries/pagination.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'user_guide/libraries/pagination.html') diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index 21c7763f3..33c871078 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -139,7 +139,7 @@ something different you can specify it.

Customizing the First Link

$config['first_link'] = 'First';

-

The text you would like shown in the "first" link on the left.

+

The text you would like shown in the "first" link on the left. If you do not want this link rendered, you can set its value to FALSE.

$config['first_tag_open'] = '<div>';

The opening tag for the "first" link.

@@ -150,7 +150,7 @@ something different you can specify it.

Customizing the Last Link

$config['last_link'] = 'Last';

-

The text you would like shown in the "last" link on the right.

+

The text you would like shown in the "last" link on the right. If you do not want this link rendered, you can set its value to FALSE.

$config['last_tag_open'] = '<div>';

The opening tag for the "last" link.

@@ -161,7 +161,7 @@ something different you can specify it.

Customizing the "Next" Link

$config['next_link'] = '&gt;';

-

The text you would like shown in the "next" page link.

+

The text you would like shown in the "next" page link. If you do not want this link rendered, you can set its value to FALSE.

$config['next_tag_open'] = '<div>';

The opening tag for the "next" link.

@@ -172,7 +172,7 @@ something different you can specify it.

Customizing the "Previous" Link

$config['prev_link'] = '&lt;';

-

The text you would like shown in the "previous" page link.

+

The text you would like shown in the "previous" page link. If you do not want this link rendered, you can set its value to FALSE.

$config['prev_tag_open'] = '<div>';

The opening tag for the "previous" link.

@@ -196,8 +196,10 @@ something different you can specify it.

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

The closing tag for the "digit" link.

- +

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