Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
pub_options
Commits
ae63bf30
Commit
ae63bf30
authored
Dec 25, 2021
by
geocalleo
Browse files
rewrote content types documentation. Added nodes documentation and images.
parent
4f924a79
Changes
4
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ae63bf30
...
...
@@ -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.

#### C
ontent 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 c
ontent types
for this
publishing option with. Then save the
publishing
option.

Once a content type has the desired publishing options, you can select the publishing options available to the content
type.

> **_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`
> 
#### 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.

### Views
You can add a field, filter and contextual filter to a view for publishing options.
----------------------------------------------------------------------
...
...
assets/images/PO_add_pub_options.png
0 → 100755
View file @
ae63bf30
62.2 KB
assets/images/PO_pub_options_content_types.png
0 → 100755
View file @
ae63bf30
73.6 KB
assets/images/PO_pub_options_nodes.png
0 → 100755
View file @
ae63bf30
41 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment