You are here

README.txt in Clean Pagination 7

Same filename and directory in other branches
  1. 5 README.txt
  2. 6 README.txt
Clean Pagination module:
-------------------------
Author - Chris Shattuck (www.impliedbydesign.com)
License - GPL

Drupal 7 port - JC Tenney (sponsored by byronbay.com Pty Ltd.)


Overview:
-------------------------
The Clean Pagination is a really simple module that helps get around the way Drupal
structures paginated URLs, which is by adding a query string, such as 'my-view?page=2'.
Clean Pagination will let you set which pages you would like to have clean URL
pagination, which looks like 'my-view/2'.

There is also an option to use search-engine-friendly links, which will add the URL of the page
to the pagination links, and will remove the extra text after the page loads. That way,
users see the typical '1 2 3' pagination, but search engines see 'View my-view Page 1
View my-view Page 2  View my-view Page 3'. If your URL is keyword-rich, having the
keywords in the hyperlink can be beneficial.

Theme Override:
-------------------------
This module overrides theme_pager_link in order to correctly theme the links for
the pager. The module returns the html for the link. If your theme needs to have
the link returned as an array then you will need to manually set the variable
cleanpager_array_themes with your theme name. Currently the tao theme is supported
out of the box.  variable_get('cleanpager_array_themes', array('tao'))

Setup:
-------------------------
- Place module in correct directory (sites/all/modules)
- Visit modules page, and install
- Go to settings 'admin/config/system/cleanpage' and turn on cleanpager for pages you want.
- Turn on any other settings. Recommnded settings to turn on:
  "Use 301 Redirects",
  "Add next/prev links to head"

File

README.txt
View source
  1. Clean Pagination module:
  2. -------------------------
  3. Author - Chris Shattuck (www.impliedbydesign.com)
  4. License - GPL
  5. Drupal 7 port - JC Tenney (sponsored by byronbay.com Pty Ltd.)
  6. Overview:
  7. -------------------------
  8. The Clean Pagination is a really simple module that helps get around the way Drupal
  9. structures paginated URLs, which is by adding a query string, such as 'my-view?page=2'.
  10. Clean Pagination will let you set which pages you would like to have clean URL
  11. pagination, which looks like 'my-view/2'.
  12. There is also an option to use search-engine-friendly links, which will add the URL of the page
  13. to the pagination links, and will remove the extra text after the page loads. That way,
  14. users see the typical '1 2 3' pagination, but search engines see 'View my-view Page 1
  15. View my-view Page 2 View my-view Page 3'. If your URL is keyword-rich, having the
  16. keywords in the hyperlink can be beneficial.
  17. Theme Override:
  18. -------------------------
  19. This module overrides theme_pager_link in order to correctly theme the links for
  20. the pager. The module returns the html for the link. If your theme needs to have
  21. the link returned as an array then you will need to manually set the variable
  22. cleanpager_array_themes with your theme name. Currently the tao theme is supported
  23. out of the box. variable_get('cleanpager_array_themes', array('tao'))
  24. Setup:
  25. -------------------------
  26. - Place module in correct directory (sites/all/modules)
  27. - Visit modules page, and install
  28. - Go to settings 'admin/config/system/cleanpage' and turn on cleanpager for pages you want.
  29. - Turn on any other settings. Recommnded settings to turn on:
  30. "Use 301 Redirects",
  31. "Add next/prev links to head"