Commit 8b1c4305 authored by geocalleo's avatar geocalleo
Browse files

added views documentation and image.

parent 3d4f1518
# Publishing options module README.md
# Publishing options module
## CONTENTS OF THIS FILE
* Introduction
......@@ -9,18 +9,20 @@
## INTRODUCTION
The publishing options module allows you to create your own custom promotion options.
---
## REQUIREMENTS
This module requires no modules outside of Drupal core.
---
## INSTALLATION
- Install the Publishing options module as you would normally install a contributed Drupal
module. Visit https://www.drupal.org/node/1897420 for further information.
Install the Publishing options module as you would normally install a contributed Drupal
module. Visit https://www.drupal.org/node/1897420 for further information.
---
## CONFIGURATION AND USAGE
To administer publishing options, go to `/admin/config/content/publishing-options`. Here you can create, update, or
remove publishing options. Click on the `Add publishing option` button. The link will take you to the
add/edit publishing options form.
To administer publishing options, go to _Configuration > Content authoring > Publishing options_
(`/admin/config/content/publishing-options`). Here you can create, update, or remove publishing options. Click on the
`Add publishing option` button. The link will take you to the add/edit publishing options form.
\
\
![Publishing options administration](assets/images/PO_admin.png)
......@@ -48,8 +50,12 @@ section and select the publishing options to associate to the node.
![Associate publishing options to nodes](assets/images/PO_pub_options_nodes.png)
### Views
You can add a field, filter and contextual filter to a view for publishing options.
To use publishing options with views. Create a view with _view settings show_ option set to **content**.
You can then add a publishing options fields, filters and contextual filters to the view.
\
\
![Publishing options inside a view](assets/images/PO_views_pub_options.png)
---
----------------------------------------------------------------------
###### Author/Maintainers
- Jorge Calderon - https://www.drupal.org/u/geocalleo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment