Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #600 by bartvig: Added search_result view mode for ding_groups #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions ding_groups.features.field_instance.inc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ function ding_groups_field_default_field_instances() {
'type' => 'text_default',
'weight' => 1,
),
'search_result' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
Expand Down Expand Up @@ -69,6 +75,13 @@ function ding_groups_field_default_field_instances() {
'type' => 'hidden',
'weight' => 4,
),
'search_result' => array(
'label' => 'hidden',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 2,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
Expand Down Expand Up @@ -111,6 +124,13 @@ function ding_groups_field_default_field_instances() {
'type' => 'hidden',
'weight' => 3,
),
'search_result' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 3,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'ding_base',
Expand Down Expand Up @@ -158,6 +178,16 @@ function ding_groups_field_default_field_instances() {
'type' => 'hidden',
'weight' => 5,
),
'search_result' => array(
'label' => 'hidden',
'module' => 'cs_adaptive_image',
'settings' => array(
'image_link' => '',
'styles' => '',
),
'type' => 'cs_adaptive_image',
'weight' => 1,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'cs_adaptive_image',
Expand Down Expand Up @@ -252,6 +282,12 @@ function ding_groups_field_default_field_instances() {
'type' => 'cs_adaptive_image',
'weight' => 0,
),
'search_result' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 4,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
Expand Down Expand Up @@ -329,6 +365,12 @@ function ding_groups_field_default_field_instances() {
'type' => 'hidden',
'weight' => 2,
),
'search_result' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 5,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
Expand Down
3 changes: 1 addition & 2 deletions ding_groups.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name = Ding groups
description = Ding groups are used to group content together themepages
core = 7.x
package = Ding!

dependencies[] = cs_adaptive_image
dependencies[] = ctools
dependencies[] = ding_base
Expand All @@ -28,7 +27,6 @@ dependencies[] = views
dependencies[] = views_content
dependencies[] = views_responsive_grid
dependencies[] = uuid

features[ctools][] = field_group:field_group:1
features[ctools][] = page_manager:pages_default:1
features[ctools][] = strongarm:strongarm:1
Expand Down Expand Up @@ -71,3 +69,4 @@ features[variable][] = node_submitted_ding_group
features[variable][] = og_menu_default_links_node_ding_group
features[variable][] = pathauto_node_ding_group_pattern
features[views_view][] = ding_groups
mtime = 1448877505
1 change: 1 addition & 0 deletions ding_groups.pages_default.inc
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ function ding_groups_default_page_manager_pages() {
'identifier' => 'Node: ID',
'name' => 'entity_id:node',
'settings' => array(),
'keyword' => 'gid',
),
'tid' => array(
'id' => 1,
Expand Down
2 changes: 1 addition & 1 deletion ding_groups.strongarm.inc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function ding_groups_strongarm() {
'custom_settings' => FALSE,
),
'search_result' => array(
'custom_settings' => FALSE,
'custom_settings' => TRUE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
Expand Down