README 923 B

12345678910111213141516171819202122232425262728
  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. Note that there is a configuration option to make it so that the plugin doesn't
  6. trigger when the user approaches the bottom of the page, but instead triggers
  7. when the "next" button is clicked.
  8. Installation
  9. ============
  10. Add "addPlugin('InfiniteScroll',
  11. array('setting'=>'value', 'setting2'=>'value2', ...);"
  12. to the bottom of your config.php
  13. Settings
  14. ========
  15. on_next_only (false): trigger infinite scroll when the next button is clicked.
  16. Note that this means you really don't have "infinite scrolling" as the trigger
  17. is clicking, not scrolling.
  18. Example
  19. =======
  20. addPlugin('InfiniteScroll', array(
  21. 'on_next_only'=>false
  22. ));