annotate vendor/plugins/classic_pagination/.svn/text-base/README.svn-base @ 599:251b380117ce
feature_227
Introduce a new latest_downloads plugin to manage active and shortcut for attachments.
Add a table for attachment active/shortcut data.
Move existing active-handler code into the new plugin (but still using the "old" active column in the attachments table). Note the files_controller stuff doesn't actually work here.
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Tue, 16 Aug 2011 17:01:19 +0100 |
parents |
513646585e45 |
children |
|
rev |
line source |
Chris@0
|
1 Pagination
|
Chris@0
|
2 ==========
|
Chris@0
|
3
|
Chris@0
|
4 To install:
|
Chris@0
|
5
|
Chris@0
|
6 script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination
|
Chris@0
|
7
|
Chris@0
|
8 This code was extracted from Rails trunk after the release 1.2.3.
|
Chris@0
|
9 WARNING: this code is dead. It is unmaintained, untested and full of cruft.
|
Chris@0
|
10
|
Chris@0
|
11 There is a much better pagination plugin called will_paginate.
|
Chris@0
|
12 Install it like this and glance through the README:
|
Chris@0
|
13
|
Chris@0
|
14 script/plugin install svn://errtheblog.com/svn/plugins/will_paginate
|
Chris@0
|
15
|
Chris@0
|
16 It doesn't have the same API, but is in fact much nicer. You can
|
Chris@0
|
17 have both plugins installed until you change your controller/view code that
|
Chris@0
|
18 handles pagination. Then, simply uninstall classic_pagination.
|