]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/InfiniteScroll/README
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / plugins / InfiniteScroll / README
1 Infinite Scroll adds the following functionality to your StatusNet installation:
2 When a user scrolls towards the bottom of the page, the next page of notices is
3 automatically retrieved and appended. This means they never need to click "Next
4 Page", which dramatically increases stickiness.
5
6 Note that there is a configuration option to make it so that the plugin doesn't
7 trigger when the user approaches the bottom of the page, but instead triggers
8 when the "next" button is clicked.
9
10 Installation
11 ============
12 Add "addPlugin('InfiniteScroll',
13     array('setting'=>'value', 'setting2'=>'value2', ...);"
14 to the bottom of your config.php
15
16 Settings
17 ========
18 on_next_only (false): trigger infinite scroll when the next button is clicked.
19 Note that this means you really don't have "infinite scrolling" as the trigger
20 is clicking, not scrolling.
21
22 Example
23 =======
24 addPlugin('InfiniteScroll', array(
25     'on_next_only'=>false
26 ));
27