You are here

README.txt in Views Variable Field 7

This module provides a "Views Variable Field" handler to display a system
variable as a field in a view.

VVF was designed in response to the unsafe practice of using the PHP filter in
Views to add and use system variables.

VVF supports Drupal's standard variables system as well modules that make use
of the Variable module (http://drupal.org/project/variable) for their variables.


Installation
------------

1. Follow the normal Drupal module installation procedures.


Usage
------------
This module provides a new Global field type for Views which enables site
builders to add any system variable as a field in a view.

Usage is straightforward. Select "Global: System variable" from the list of
available fields and then enter the name of the variable to display.

All standard Views field manipulations are supported, such as rewriting the
output value as well as usage in the "No results behavior" via replacement
patterns.

Since 7.x-1.2 a Views filter is also provided. Select
"Global: Field against variable comparison" filter to compare a view filter
against a system variable to filter views results.


Authors/Credits
---------------

* Author: [plopesc](http://drupal.org/user/282415)
* Development sponsored by [Bluespark](http://bluespark.com).

File

README.txt
View source
  1. This module provides a "Views Variable Field" handler to display a system
  2. variable as a field in a view.
  3. VVF was designed in response to the unsafe practice of using the PHP filter in
  4. Views to add and use system variables.
  5. VVF supports Drupal's standard variables system as well modules that make use
  6. of the Variable module (http://drupal.org/project/variable) for their variables.
  7. Installation
  8. ------------
  9. 1. Follow the normal Drupal module installation procedures.
  10. Usage
  11. ------------
  12. This module provides a new Global field type for Views which enables site
  13. builders to add any system variable as a field in a view.
  14. Usage is straightforward. Select "Global: System variable" from the list of
  15. available fields and then enter the name of the variable to display.
  16. All standard Views field manipulations are supported, such as rewriting the
  17. output value as well as usage in the "No results behavior" via replacement
  18. patterns.
  19. Since 7.x-1.2 a Views filter is also provided. Select
  20. "Global: Field against variable comparison" filter to compare a view filter
  21. against a system variable to filter views results.
  22. Authors/Credits
  23. ---------------
  24. * Author: [plopesc](http://drupal.org/user/282415)
  25. * Development sponsored by [Bluespark](http://bluespark.com).