You are here

README.txt in Views Token Argument 8

Same filename and directory in other branches
  1. 2.0.x README.txt
Views Token Argument allows you to use token as contextual
filter for Views.

You can use both current user values or the entity related
to the current page (for example the current node on node/x
pages, or the user on user/x, etc.).

Moreover you have an option to take the raw value for the fields
(for example ID instead of linked title provided by token module).

Example use case : a user has an entity reference to taxonomies
and you wish to show in a view all content related to the terms
the user has selected. Or you wish to show last contents that
have the same category of the current viewed node...

There is also a debug mode to show you the final value after processing.

If you want to get all values if the value is empty, check the box
and enable in the fieldgroup "exception" the "all" argument.

This module has no dependencies but uses Token module to browse 
available tokens.

File

README.txt
View source
  1. Views Token Argument allows you to use token as contextual
  2. filter for Views.
  3. You can use both current user values or the entity related
  4. to the current page (for example the current node on node/x
  5. pages, or the user on user/x, etc.).
  6. Moreover you have an option to take the raw value for the fields
  7. (for example ID instead of linked title provided by token module).
  8. Example use case : a user has an entity reference to taxonomies
  9. and you wish to show in a view all content related to the terms
  10. the user has selected. Or you wish to show last contents that
  11. have the same category of the current viewed node...
  12. There is also a debug mode to show you the final value after processing.
  13. If you want to get all values if the value is empty, check the box
  14. and enable in the fieldgroup "exception" the "all" argument.
  15. This module has no dependencies but uses Token module to browse
  16. available tokens.