diff options
author | Derek Allard <derek.allard@ellislab.com> | 2010-07-05 16:54:30 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2010-07-05 16:54:30 +0200 |
commit | 96bb75cd4e9b1cbd82fe7496e9b831054c8228f1 (patch) | |
tree | fcc3dbc0af569318284b7e70754c88186d5d8494 /user_guide/libraries/pagination.html | |
parent | a0905f33eabec71e411c837967750e15d6febf19 (diff) |
Added the ability to suppress first, previous, next and last links by setting their values to FALSE in the pagination library.
Diffstat (limited to 'user_guide/libraries/pagination.html')
-rw-r--r-- | user_guide/libraries/pagination.html | 12 |
1 files changed, 7 insertions, 5 deletions
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.</p> <h2>Customizing the First Link</h2> <h4>$config['first_link'] = 'First';</h4> -<p>The text you would like shown in the "first" link on the left.</p> +<p>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.</p> <h4>$config['first_tag_open'] = '<div>';</h4> <p>The opening tag for the "first" link.</p> @@ -150,7 +150,7 @@ something different you can specify it.</p> <h2>Customizing the Last Link</h2> <h4>$config['last_link'] = 'Last';</h4> -<p>The text you would like shown in the "last" link on the right.</p> +<p>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.</p> <h4>$config['last_tag_open'] = '<div>';</h4> <p>The opening tag for the "last" link.</p> @@ -161,7 +161,7 @@ something different you can specify it.</p> <h2>Customizing the "Next" Link</h2> <h4>$config['next_link'] = '&gt;';</h4> -<p>The text you would like shown in the "next" page link.</p> +<p>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.</p> <h4>$config['next_tag_open'] = '<div>';</h4> <p>The opening tag for the "next" link.</p> @@ -172,7 +172,7 @@ something different you can specify it.</p> <h2>Customizing the "Previous" Link</h2> <h4>$config['prev_link'] = '&lt;';</h4> -<p>The text you would like shown in the "previous" page link.</p> +<p>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.</p> <h4>$config['prev_tag_open'] = '<div>';</h4> <p>The opening tag for the "previous" link.</p> @@ -196,8 +196,10 @@ something different you can specify it.</p> <h4>$config['num_tag_close'] = '</div>';</h4> <p>The closing tag for the "digit" link.</p> - +<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> </div> <!-- END CONTENT --> |