]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/InfiniteScroll/README
Fix infinite scroll to work on 1.0.x
[quix0rs-gnu-social.git] / plugins / InfiniteScroll / README
index 47e265b051c5f82cf1ae36c100bc910f2941e84a..38462aaf6e227fecbd9c02d25c8e469d1fc9448b 100644 (file)
@@ -3,7 +3,25 @@ When a user scrolls towards the bottom of the page, the next page of notices is
 automatically retrieved and appended. This means they never need to click "Next
 Page", which dramatically increases stickiness.
 
+Note that there is a configuration option to make it so that the plugin doesn't
+trigger when the user approaches the bottom of the page, but instead triggers
+when the "next" button is clicked.
+
 Installation
 ============
-Add "addPlugin('InfiniteScroll');" to the bottom of your config.php
-That's it!
+Add "addPlugin('InfiniteScroll',
+    array('setting'=>'value', 'setting2'=>'value2', ...);"
+to the bottom of your config.php
+
+Settings
+========
+on_next_only (false): trigger infinite scroll when the next button is clicked.
+Note that this means you really don't have "infinite scrolling" as the trigger
+is clicking, not scrolling.
+
+Example
+=======
+addPlugin('InfiniteScroll', array(
+    'on_next_only'=>false
+));
+