-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenclub_profiles.views_default.inc
154 lines (148 loc) · 10 KB
/
openclub_profiles.views_default.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php
/**
* @file
* openclub_profiles.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function openclub_profiles_views_default_views() {
$export = array();
$view = new view;
$view->name = 'members';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'users';
$view->human_name = 'members';
$view->core = 7;
$view->api_version = '3.0-alpha1';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'members';
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['access']['perm'] = 'access user profiles';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['style_plugin'] = 'table';
/* Field: User: Picture */
$handler->display->display_options['fields']['picture']['id'] = 'picture';
$handler->display->display_options['fields']['picture']['table'] = 'users';
$handler->display->display_options['fields']['picture']['field'] = 'picture';
$handler->display->display_options['fields']['picture']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['picture']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['picture']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['picture']['alter']['external'] = 0;
$handler->display->display_options['fields']['picture']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['picture']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['picture']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['picture']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['picture']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['picture']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['picture']['alter']['trim'] = 0;
$handler->display->display_options['fields']['picture']['alter']['html'] = 0;
$handler->display->display_options['fields']['picture']['element_label_colon'] = 1;
$handler->display->display_options['fields']['picture']['element_default_classes'] = 1;
$handler->display->display_options['fields']['picture']['hide_empty'] = 0;
$handler->display->display_options['fields']['picture']['empty_zero'] = 0;
$handler->display->display_options['fields']['picture']['hide_alter_empty'] = 0;
/* Field: User: Name */
$handler->display->display_options['fields']['name']['id'] = 'name';
$handler->display->display_options['fields']['name']['table'] = 'users';
$handler->display->display_options['fields']['name']['field'] = 'name';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0;
$handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0;
$handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['name']['alter']['trim'] = 0;
$handler->display->display_options['fields']['name']['alter']['html'] = 0;
$handler->display->display_options['fields']['name']['hide_empty'] = 0;
$handler->display->display_options['fields']['name']['empty_zero'] = 0;
$handler->display->display_options['fields']['name']['link_to_user'] = 1;
$handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
/* Field: User: City */
$handler->display->display_options['fields']['field_city']['id'] = 'field_city';
$handler->display->display_options['fields']['field_city']['table'] = 'field_data_field_city';
$handler->display->display_options['fields']['field_city']['field'] = 'field_city';
$handler->display->display_options['fields']['field_city']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['max_length'] = '20';
$handler->display->display_options['fields']['field_city']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_city']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_city']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_city']['alter']['trim'] = 1;
$handler->display->display_options['fields']['field_city']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_city']['element_label_colon'] = 1;
$handler->display->display_options['fields']['field_city']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_city']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_city']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_city']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['field_city']['field_api_classes'] = 0;
/* Field: User: Country */
$handler->display->display_options['fields']['field_country']['id'] = 'field_country';
$handler->display->display_options['fields']['field_country']['table'] = 'field_data_field_country';
$handler->display->display_options['fields']['field_country']['field'] = 'field_country';
$handler->display->display_options['fields']['field_country']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['max_length'] = '30';
$handler->display->display_options['fields']['field_country']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_country']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_country']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_country']['alter']['trim'] = 1;
$handler->display->display_options['fields']['field_country']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_country']['element_label_colon'] = 1;
$handler->display->display_options['fields']['field_country']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_country']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_country']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_country']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['field_country']['field_api_classes'] = 0;
/* Sort criterion: User: Created date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'users';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Filter criterion: User: Active */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'users';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = '1';
$handler->display->display_options['filters']['status']['group'] = 0;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = 'members';
$handler->display->display_options['menu']['type'] = 'normal';
$handler->display->display_options['menu']['title'] = 'Members';
$handler->display->display_options['menu']['weight'] = '0';
$handler->display->display_options['menu']['name'] = 'main-menu';
/* Display: Block */
$handler = $view->new_display('block', 'Block', 'block');
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['defaults']['row_options'] = FALSE;
$export['members'] = $view;
return $export;
}