Commit ae63bf30 authored by geocalleo's avatar geocalleo
Browse files

rewrote content types documentation. Added nodes documentation and images.

parent 4f924a79
......@@ -4,7 +4,7 @@
* Introduction
* Requirements
* Installation
* Configuration
* Configuration and usage
* Maintainers
## INTRODUCTION
......@@ -17,19 +17,29 @@ This module requires no modules outside of Drupal core.
- 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!
To administer publishing options, go to `/admin/config/content/publishing-options`
## 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.
![Publishing options administration](assets/images/PO_admin.png)
#### Content types
After adding the desired options, you can then go to `/admin/structure/types` and pick publishing
options for the desired content types.
To add/edit a publishing option. Type the name of the publishing option and associate the content types for this
publishing option with. Then save the publishing option.
![Create/Edit publishing options](assets/images/PO_add_pub_options.png)
Once a content type has the desired publishing options, you can select the publishing options available to the content
type.
![Relating publishing options to a content type](assets/images/PO_content_types.png)
> **_NOTE:_** You can also associate publishing options to a content type within the content type's add/edit
> page in the `Publishing options` section.
> \
> \
> **_Example link:_** Basic page, `admin/structure/types/manage/page`
> ![Publishing options inside content types](assets/images/PO_pub_options_content_types.png)
#### Views
### Nodes
To associate a node to a publishing option, add/edit a node (`node/add` or `/node/%/edit`). Go to the `Promotion options`
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.
----------------------------------------------------------------------
......
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