Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
BluesparkLabsPublic archive

About

Proof of concept to review the new Views Variable Field module before release on d.o

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Proof of concept to review the new Views Variable Field module before release on d.o

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages