You are here

README.txt in Views navigation 7

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Limitations
 * Installation
 * Configuration
 * Working

INTRODUCTION
------------

Current Maintainer: Gaël Gosset <ggosset@insite.coop>

This module adds next and previous links on content pages when accessed from a 
view. It is intended for dynamic and/or paged view results, where the result set 
changes according to exposed filters, current user access rights,...

You may need this module if the content which comes after a given content 
depends on context, and more precisely depends on which content list you came 
from.

You may also look at this comparison of next/previous modules:
http://drupal.org/node/1276920

Developed by Insite
www.insite.coop

LIMITATIONS
-----------

Currently only works with the default query plugin or the Search API query
plugin, for views with the following row styles:
* "fields" (supported content fields : Title, Link, Path and Image)
* "rendered entity", with a label linking to the entity page.
All kinds of entities which have their own page are supposed to work,
BUT only the node entity type has been really tested, you may experience some
problems if your view lists users, terms... Please provide feedback if you found
a bug.
Feel free to submit new views handlers based on the code from the existing ones
(it's usually only one class method to override).
* if the view has random sorting, you'll get a random behavior ;)

INSTALLATION
------------

Follow the usual contrib module installation process:
http://drupal.org/documentation/install/modules-themes/modules-7


CONFIGURATION
-------------

On your view's configuration page, in Advanced, there is a new setting to enable
views navigation.
The links are added to the default node template, but there is also a block
available if you need (which is needed for other entity types like terms,
users,...).

WORKING
-------

1. When the view is rendered, its query is stored with a unique ID and the
fields linking to the entities are rendered with an altered URL, where GET
parameters are added to pass the stored query ID and the position of the entity
in the result set.
PERFORMANCE FIRST MODE CHOSEN:
2. When the entity page is rendered, if these GET parameters are set, next and
previous links are added accordingly.
3. When the link is clicked, the stored query is executed (with no paging) to
know which entity is the next/previous.
SEO FIRST MODE CHOSEN:
2. When the entity page is rendered, if these GET parameters are set, the stored
query is executed (with no paging) to know which entity is the next/previous.
Next and previous links are added accordingly.

Of course, these operations are cached for better performances.

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Limitations
  5. * Installation
  6. * Configuration
  7. * Working
  8. INTRODUCTION
  9. ------------
  10. Current Maintainer: Gaël Gosset
  11. This module adds next and previous links on content pages when accessed from a
  12. view. It is intended for dynamic and/or paged view results, where the result set
  13. changes according to exposed filters, current user access rights,...
  14. You may need this module if the content which comes after a given content
  15. depends on context, and more precisely depends on which content list you came
  16. from.
  17. You may also look at this comparison of next/previous modules:
  18. http://drupal.org/node/1276920
  19. Developed by Insite
  20. www.insite.coop
  21. LIMITATIONS
  22. -----------
  23. Currently only works with the default query plugin or the Search API query
  24. plugin, for views with the following row styles:
  25. * "fields" (supported content fields : Title, Link, Path and Image)
  26. * "rendered entity", with a label linking to the entity page.
  27. All kinds of entities which have their own page are supposed to work,
  28. BUT only the node entity type has been really tested, you may experience some
  29. problems if your view lists users, terms... Please provide feedback if you found
  30. a bug.
  31. Feel free to submit new views handlers based on the code from the existing ones
  32. (it's usually only one class method to override).
  33. * if the view has random sorting, you'll get a random behavior ;)
  34. INSTALLATION
  35. ------------
  36. Follow the usual contrib module installation process:
  37. http://drupal.org/documentation/install/modules-themes/modules-7
  38. CONFIGURATION
  39. -------------
  40. On your view's configuration page, in Advanced, there is a new setting to enable
  41. views navigation.
  42. The links are added to the default node template, but there is also a block
  43. available if you need (which is needed for other entity types like terms,
  44. users,...).
  45. WORKING
  46. -------
  47. 1. When the view is rendered, its query is stored with a unique ID and the
  48. fields linking to the entities are rendered with an altered URL, where GET
  49. parameters are added to pass the stored query ID and the position of the entity
  50. in the result set.
  51. PERFORMANCE FIRST MODE CHOSEN:
  52. 2. When the entity page is rendered, if these GET parameters are set, next and
  53. previous links are added accordingly.
  54. 3. When the link is clicked, the stored query is executed (with no paging) to
  55. know which entity is the next/previous.
  56. SEO FIRST MODE CHOSEN:
  57. 2. When the entity page is rendered, if these GET parameters are set, the stored
  58. query is executed (with no paging) to know which entity is the next/previous.
  59. Next and previous links are added accordingly.
  60. Of course, these operations are cached for better performances.