Skip to content

Commit

Permalink
Fixes after clean install
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaycs85 committed Jan 2, 2018
1 parent a37311e commit 6c3e442
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ This module provides snippet **content type** with snippet type **taxonomy vocab
### Install

1. Install module usual.
2. Create term (e.g. FAQ) under [snippet types]() taxonomy
3. Create new [snippet]() nodes
4. Update [view page display]() field with new term created in step 2.
2. Create new [snippet]() nodes
3. Add nodes to faq node queue.
4. visit `/faq` page to see questions and answers.

### Create new page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
config:
- field.storage.node.field_snippet_type
- node.type.snippet
- taxonomy.vocabulary.snippet_type
- taxonomy.vocabulary.snippet_types
content:
- 'taxonomy_term:snippet_type:0739849e-e0ee-4f86-bb07-97b9c4dff9bc'
- 'taxonomy_term:snippet_types:0739849e-e0ee-4f86-bb07-97b9c4dff9bc'
id: node.snippet.field_snippet_type
field_name: field_snippet_type
entity_type: node
Expand All @@ -23,7 +23,7 @@ settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
snippet_type: snippet_type
snippet_types: snippet_types
sort:
field: name
direction: asc
Expand Down
6 changes: 3 additions & 3 deletions config/install/views.view.snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ dependencies:
- entityqueue.entity_queue.faq
- field.storage.node.body
- node.type.snippet
- taxonomy.vocabulary.snippet_type
- taxonomy.vocabulary.snippet_types
content:
- 'taxonomy_term:snippet_type:0739849e-e0ee-4f86-bb07-97b9c4dff9bc'
- 'taxonomy_term:snippet_types:0739849e-e0ee-4f86-bb07-97b9c4dff9bc'
module:
- entityqueue
- node
Expand Down Expand Up @@ -183,7 +183,7 @@ display:
reduce_duplicates: false
type: select
limit: true
vid: snippet_type
vid: snippet_types
hierarchy: false
error_message: true
plugin_id: taxonomy_index_tid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"href": "http:\/\/default\/taxonomy\/term\/1?_format=hal_json"
},
"type": {
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/snippet_type"
"href": "http:\/\/drupal.org\/rest\/type\/taxonomy_term\/snippet_types"
}
},
"tid": [
Expand All @@ -25,7 +25,7 @@
],
"vid": [
{
"target_id": "snippet_type"
"target_id": "snippet_types"
}
],
"name": [
Expand Down
2 changes: 1 addition & 1 deletion simplelist.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: module
name: Simple List
description: Provides an easy way to build simple FAQ like list pages.
core: 8.x
dependecies:
dependencies:
- views
- entityqueue
- default_content
Expand Down

0 comments on commit 6c3e442

Please sign in to comment.