You are here

README.txt in Condition Query 8

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

 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Maintainers

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

Extends conditional plugin API to add URI Query
Parameters to control the content visibility.
Drupal core conditional plugin API provides the ability to control
the visibility of content (block) using paths, etc.
This module adds new conditional plugin to allow administrators
to control the visibility of content using url query parameter.

This plugin can be used to show or hide blocks,
contents etc based on query parameter.
It supports query parameter with array ex: ?visibility[]=show

List of features using condition plugins,
1) Block
2) Rules
3) Page manager
    etc.

Example usage:
1) Display blocks if query parameter has "visibility=show"
   ( http:://www.example.com/?visibility=show )
2) Hide all blocks if query parameter has "app=true"
   ( http:://www.example.com/?app=true)


REQUIREMENTS
------------

None.


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

* Install as usual, see http://drupal.org/node/1897420 for further information.


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

* Configure visibility of block Administration » Structure » Block layout
   Configure block » Under Visibility add/update "Request Param"

* "Negate the condition" can be used to reverse the condition,
   example : show the block if url do not have parameter
   http://www.example.com/?app=yes


MAINTAINERS
-----------

Current maintainers:
* Loganathan Harikrishnan (logan.H) - https://www.drupal.org/u/loganh
* Derek Wright (dww) - https://www.drupal.org/u/dww

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Maintainers
  8. INTRODUCTION
  9. ------------
  10. Extends conditional plugin API to add URI Query
  11. Parameters to control the content visibility.
  12. Drupal core conditional plugin API provides the ability to control
  13. the visibility of content (block) using paths, etc.
  14. This module adds new conditional plugin to allow administrators
  15. to control the visibility of content using url query parameter.
  16. This plugin can be used to show or hide blocks,
  17. contents etc based on query parameter.
  18. It supports query parameter with array ex: ?visibility[]=show
  19. List of features using condition plugins,
  20. 1) Block
  21. 2) Rules
  22. 3) Page manager
  23. etc.
  24. Example usage:
  25. 1) Display blocks if query parameter has "visibility=show"
  26. ( http:://www.example.com/?visibility=show )
  27. 2) Hide all blocks if query parameter has "app=true"
  28. ( http:://www.example.com/?app=true)
  29. REQUIREMENTS
  30. ------------
  31. None.
  32. INSTALLATION
  33. ------------
  34. * Install as usual, see http://drupal.org/node/1897420 for further information.
  35. CONFIGURATION
  36. -------------
  37. * Configure visibility of block Administration » Structure » Block layout
  38. Configure block » Under Visibility add/update "Request Param"
  39. * "Negate the condition" can be used to reverse the condition,
  40. example : show the block if url do not have parameter
  41. http://www.example.com/?app=yes
  42. MAINTAINERS
  43. -----------
  44. Current maintainers:
  45. * Loganathan Harikrishnan (logan.H) - https://www.drupal.org/u/loganh
  46. * Derek Wright (dww) - https://www.drupal.org/u/dww