-
Notifications
You must be signed in to change notification settings - Fork 4
/
ding_event.views_default.inc
2350 lines (2336 loc) · 159 KB
/
ding_event.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* @file
* ding_event.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function ding_event_views_default_views() {
$export = array();
$view = new view();
$view->name = 'ding_event';
$view->description = '';
$view->tag = 'ding_event';
$view->base_table = 'node';
$view->human_name = 'Ding event';
$view->core = 7;
$view->api_version = '3.0';
$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['use_more'] = TRUE;
$handler->display->display_options['use_more_always'] = TRUE;
$handler->display->display_options['use_more_text'] = 'See all events';
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Indsend';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Gendan';
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Sortér efter';
$handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Stigende';
$handler->display->display_options['exposed_form']['options']['sort_desc_label'] = 'Faldende';
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['wrapper_class'] = 'event-list';
$handler->display->display_options['row_plugin'] = 'fields';
/* No results behavior: Global: Text area */
$handler->display->display_options['empty']['area']['id'] = 'area';
$handler->display->display_options['empty']['area']['table'] = 'views';
$handler->display->display_options['empty']['area']['field'] = 'area';
$handler->display->display_options['empty']['area']['label'] = 'Empty text';
$handler->display->display_options['empty']['area']['empty'] = TRUE;
$handler->display->display_options['empty']['area']['content'] = 'No events where found.';
$handler->display->display_options['empty']['area']['format'] = 'ding_wysiwyg';
/* Relationship: OG membership: OG membership from Node */
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
/* Field: Day (excluded) */
$handler->display->display_options['fields']['field_ding_event_date']['id'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['ui_name'] = 'Day (excluded)';
$handler->display->display_options['fields']['field_ding_event_date']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date']['settings'] = array(
'format_type' => 'day_text_full',
'fromto' => 'value',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Day of the month (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_1']['id'] = 'field_ding_event_date_1';
$handler->display->display_options['fields']['field_ding_event_date_1']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['ui_name'] = 'Day of the month (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_1']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_1']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['settings'] = array(
'format_type' => 'day_of_the_month_without_leading_zeros',
'fromto' => 'value',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Month (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_2']['id'] = 'field_ding_event_date_2';
$handler->display->display_options['fields']['field_ding_event_date_2']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_2']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_2']['ui_name'] = 'Month (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_2']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_2']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_2']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_2']['settings'] = array(
'format_type' => 'month_text_full',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Location (excluded) */
$handler->display->display_options['fields']['field_ding_event_location']['id'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['table'] = 'field_data_field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['field'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['ui_name'] = 'Location (excluded)';
$handler->display->display_options['fields']['field_ding_event_location']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_location']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['click_sort_column'] = 'name_line';
$handler->display->display_options['fields']['field_ding_event_location']['settings'] = array(
'use_widget_handlers' => 0,
'format_handlers' => array(
'name-oneline' => 'name-oneline',
),
);
/* Field: Time (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_3']['id'] = 'field_ding_event_date_3';
$handler->display->display_options['fields']['field_ding_event_date_3']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_3']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_3']['ui_name'] = 'Time (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_3']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_3']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_3']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_3']['settings'] = array(
'format_type' => 'ding_time_only',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Price (excluded) */
$handler->display->display_options['fields']['field_ding_event_price']['id'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['table'] = 'field_data_field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['field'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['ui_name'] = 'Price (excluded)';
$handler->display->display_options['fields']['field_ding_event_price']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_price']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_price']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['settings'] = array(
'thousand_separator' => ' ',
'prefix_suffix' => 1,
);
/* Field: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['ui_name'] = 'Title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'event-list-title';
$handler->display->display_options['fields']['title']['element_label_type'] = '0';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
/* Field: Day, date and month */
$handler->display->display_options['fields']['nothing_1']['id'] = 'nothing_1';
$handler->display->display_options['fields']['nothing_1']['table'] = 'views';
$handler->display->display_options['fields']['nothing_1']['field'] = 'nothing';
$handler->display->display_options['fields']['nothing_1']['ui_name'] = 'Day, date and month';
$handler->display->display_options['fields']['nothing_1']['label'] = '';
$handler->display->display_options['fields']['nothing_1']['alter']['text'] = '<div class="event-list-date-wrapper">
<span class="event-list-day">[field_ding_event_date]</span>
<div class="event-list-inner-wrapper">
<span class="event-list-date">[field_ding_event_date_1]</span>
<span class="event-list-month">[field_ding_event_date_2]</span>
</div>
</div>';
$handler->display->display_options['fields']['nothing_1']['element_type'] = '0';
$handler->display->display_options['fields']['nothing_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['nothing_1']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['nothing_1']['element_default_classes'] = FALSE;
/* Field: Location, time and price */
$handler->display->display_options['fields']['nothing']['id'] = 'nothing';
$handler->display->display_options['fields']['nothing']['table'] = 'views';
$handler->display->display_options['fields']['nothing']['field'] = 'nothing';
$handler->display->display_options['fields']['nothing']['ui_name'] = 'Location, time and price';
$handler->display->display_options['fields']['nothing']['label'] = '';
$handler->display->display_options['fields']['nothing']['alter']['text'] = '<div class="event-list-info">
<span class="event-list-location">[field_ding_event_location]</span>
<span class="event-list-time">[field_ding_event_date_3]</span>
<span class="event-list-price">[field_ding_event_price]</span>
</div>';
$handler->display->display_options['fields']['nothing']['element_type'] = '0';
$handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['nothing']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['nothing']['element_default_classes'] = FALSE;
/* Sort criterion: Content: Date - start date (field_ding_event_date) */
$handler->display->display_options['sorts']['field_ding_event_date_value']['id'] = 'field_ding_event_date_value';
$handler->display->display_options['sorts']['field_ding_event_date_value']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['sorts']['field_ding_event_date_value']['field'] = 'field_ding_event_date_value';
/* Contextual filter: Content: Has taxonomy term ID */
$handler->display->display_options['arguments']['tid']['id'] = 'tid';
$handler->display->display_options['arguments']['tid']['table'] = 'taxonomy_index';
$handler->display->display_options['arguments']['tid']['field'] = 'tid';
$handler->display->display_options['arguments']['tid']['exception']['title'] = 'Alle';
$handler->display->display_options['arguments']['tid']['default_argument_type'] = 'raw';
$handler->display->display_options['arguments']['tid']['default_argument_options']['index'] = '3';
$handler->display->display_options['arguments']['tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['tid']['validate']['type'] = 'taxonomy_term';
$handler->display->display_options['arguments']['tid']['validate_options']['vocabularies'] = array(
'event_category' => 'event_category',
);
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$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;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'ding_event' => 'ding_event',
);
/* Filter criterion: Date: Date (node) */
$handler->display->display_options['filters']['date_filter']['id'] = 'date_filter';
$handler->display->display_options['filters']['date_filter']['table'] = 'node';
$handler->display->display_options['filters']['date_filter']['field'] = 'date_filter';
$handler->display->display_options['filters']['date_filter']['operator'] = '>=';
$handler->display->display_options['filters']['date_filter']['default_date'] = 'now';
$handler->display->display_options['filters']['date_filter']['date_fields'] = array(
'field_data_field_ding_event_date.field_ding_event_date_value' => 'field_data_field_ding_event_date.field_ding_event_date_value',
'field_data_field_ding_event_date.field_ding_event_date_value2' => 'field_data_field_ding_event_date.field_ding_event_date_value2',
);
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type_1']['id'] = 'type_1';
$handler->display->display_options['filters']['type_1']['table'] = 'node';
$handler->display->display_options['filters']['type_1']['field'] = 'type';
$handler->display->display_options['filters']['type_1']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['filters']['type_1']['value'] = array(
'ding_library' => 'ding_library',
);
/* Display: Event list */
$handler = $view->new_display('panel_pane', 'Event list', 'ding_event_list');
$handler->display->display_options['defaults']['use_more'] = FALSE;
$handler->display->display_options['defaults']['link_display'] = FALSE;
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'arrangementer';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['quantity'] = '9';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Number of elements';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alle -';
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Forskydning';
$handler->display->display_options['pager']['options']['tags']['first'] = '« First';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ previous';
$handler->display->display_options['pager']['options']['tags']['next'] = 'Next ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'Last »';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['grouping'] = array(
0 => array(
'field' => 'field_ding_event_date_1',
'rendered' => 1,
'rendered_strip' => 0,
),
);
$handler->display->display_options['style_options']['row_class'] = 'list-item';
$handler->display->display_options['style_options']['class'] = 'list event-list';
$handler->display->display_options['style_options']['wrapper_class'] = '';
$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['row_options']['hide_empty'] = TRUE;
$handler->display->display_options['row_options']['default_field_elements'] = FALSE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: OG membership: OG membership from Node */
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
/* Relationship: OG membership: Group Node from OG membership */
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['relationship'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_related_node_group']['label'] = 'OG node group';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Date (for group header) (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_1']['id'] = 'field_ding_event_date_1';
$handler->display->display_options['fields']['field_ding_event_date_1']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['ui_name'] = 'Date (for group header) (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_1']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_1']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['type'] = 'calendar_header';
$handler->display->display_options['fields']['field_ding_event_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: List image */
$handler->display->display_options['fields']['field_ding_event_list_image']['id'] = 'field_ding_event_list_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['table'] = 'field_data_field_ding_event_list_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['field'] = 'field_ding_event_list_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['ui_name'] = 'List image';
$handler->display->display_options['fields']['field_ding_event_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_list_image']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_wrapper_class'] = 'event-image-wrapper';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_event_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['settings'] = array(
'image_link' => 'content',
'styles' => array(
'breakpoint_1' => '768',
'style_1' => 'ding_list_medium',
'breakpoint_2' => '500',
'style_2' => 'ding_list_small',
'max_style' => 'ding_list_medium',
'fallback_style' => 'ding_list_medium',
),
);
/* Field: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['ui_name'] = 'Title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'event-list-heading';
$handler->display->display_options['fields']['title']['element_label_type'] = '0';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
/* Field: Description (content) */
$handler->display->display_options['fields']['field_ding_event_lead']['id'] = 'field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['table'] = 'field_data_field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['field'] = 'field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['ui_name'] = 'Description (content)';
$handler->display->display_options['fields']['field_ding_event_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_event_lead']['element_class'] = 'event-list-description';
$handler->display->display_options['fields']['field_ding_event_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_lead']['element_default_classes'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['element_type'] = 'span';
$handler->display->display_options['fields']['title_1']['element_class'] = 'event-list-location';
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title_1']['element_default_classes'] = FALSE;
/* Field: Location */
$handler->display->display_options['fields']['field_ding_event_location']['id'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['table'] = 'field_data_field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['field'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['ui_name'] = 'Location';
$handler->display->display_options['fields']['field_ding_event_location']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_location']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_location']['element_class'] = 'event-list-location';
$handler->display->display_options['fields']['field_ding_event_location']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_location']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['click_sort_column'] = 'name_line';
$handler->display->display_options['fields']['field_ding_event_location']['settings'] = array(
'use_widget_handlers' => 0,
'format_handlers' => array(
'name-oneline' => 'name-oneline',
),
);
/* Field: Time (from - to) */
$handler->display->display_options['fields']['field_ding_event_date']['id'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['ui_name'] = 'Time (from - to)';
$handler->display->display_options['fields']['field_ding_event_date']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_date']['element_class'] = 'event-list-time';
$handler->display->display_options['fields']['field_ding_event_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_date']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['settings'] = array(
'format_type' => 'ding_time_only',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Price */
$handler->display->display_options['fields']['field_ding_event_price']['id'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['table'] = 'field_data_field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['field'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['ui_name'] = 'Price';
$handler->display->display_options['fields']['field_ding_event_price']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_price']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_price']['element_class'] = 'event-list-price';
$handler->display->display_options['fields']['field_ding_event_price']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_price']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['settings'] = array(
'thousand_separator' => ' ',
'prefix_suffix' => 1,
);
/* Field: Link (arrow) */
$handler->display->display_options['fields']['view_node']['id'] = 'view_node';
$handler->display->display_options['fields']['view_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['view_node']['field'] = 'view_node';
$handler->display->display_options['fields']['view_node']['ui_name'] = 'Link (arrow)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['view_node']['alter']['text'] = '<i class="icon-chevron-right"></i>';
$handler->display->display_options['fields']['view_node']['element_type'] = 'div';
$handler->display->display_options['fields']['view_node']['element_class'] = 'event-arrow-link';
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['view_node']['text'] = 'Læs mere';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Contextual filter: Content: Has taxonomy term ID */
$handler->display->display_options['arguments']['tid']['id'] = 'tid';
$handler->display->display_options['arguments']['tid']['table'] = 'taxonomy_index';
$handler->display->display_options['arguments']['tid']['field'] = 'tid';
$handler->display->display_options['arguments']['tid']['exception']['title'] = 'Alle';
$handler->display->display_options['arguments']['tid']['default_argument_type'] = 'taxonomy_tid';
$handler->display->display_options['arguments']['tid']['default_argument_options']['term_page'] = FALSE;
$handler->display->display_options['arguments']['tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['tid']['specify_validation'] = TRUE;
$handler->display->display_options['arguments']['tid']['validate']['type'] = 'taxonomy_term';
$handler->display->display_options['arguments']['tid']['validate_options']['vocabularies'] = array(
'event_category' => 'event_category',
);
$handler->display->display_options['pane_category']['name'] = 'Event panes';
$handler->display->display_options['pane_category']['weight'] = '0';
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 'title_override';
$handler->display->display_options['allow']['exposed_form'] = 0;
$handler->display->display_options['allow']['fields_override'] = 0;
$handler->display->display_options['argument_input'] = array(
'tid' => array(
'type' => 'context',
'context' => 'entity:taxonomy_term.tid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '%tid',
'label' => 'Content: Has taxonomy term ID',
),
);
/* Display: Event list (frontpage) */
$handler = $view->new_display('panel_pane', 'Event list (frontpage)', 'ding_event_list_frontpage');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Events';
$handler->display->display_options['defaults']['use_more'] = FALSE;
$handler->display->display_options['use_more'] = TRUE;
$handler->display->display_options['defaults']['link_display'] = FALSE;
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'arrangementer';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '6';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['grouping'] = array(
0 => array(
'field' => 'field_ding_event_date_1',
'rendered' => 1,
'rendered_strip' => 0,
),
);
$handler->display->display_options['style_options']['row_class'] = 'list-item';
$handler->display->display_options['style_options']['class'] = 'list event-list';
$handler->display->display_options['style_options']['wrapper_class'] = '';
$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['row_options']['hide_empty'] = TRUE;
$handler->display->display_options['row_options']['default_field_elements'] = FALSE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: OG membership: OG membership from Node */
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
/* Relationship: OG membership: Group Node from OG membership */
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['relationship'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_related_node_group']['label'] = 'OG node group';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Date (for group header) (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_1']['id'] = 'field_ding_event_date_1';
$handler->display->display_options['fields']['field_ding_event_date_1']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['ui_name'] = 'Date (for group header) (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_1']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_1']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['type'] = 'calendar_header';
$handler->display->display_options['fields']['field_ding_event_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['ui_name'] = 'Title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'event-list-heading';
$handler->display->display_options['fields']['title']['element_label_type'] = '0';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
/* Field: Description (content) */
$handler->display->display_options['fields']['field_ding_event_lead']['id'] = 'field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['table'] = 'field_data_field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['field'] = 'field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['ui_name'] = 'Description (content)';
$handler->display->display_options['fields']['field_ding_event_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_event_lead']['element_class'] = 'event-list-description';
$handler->display->display_options['fields']['field_ding_event_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_lead']['element_default_classes'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['element_type'] = 'span';
$handler->display->display_options['fields']['title_1']['element_class'] = 'event-list-location';
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title_1']['element_default_classes'] = FALSE;
/* Field: Location */
$handler->display->display_options['fields']['field_ding_event_location']['id'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['table'] = 'field_data_field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['field'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['ui_name'] = 'Location';
$handler->display->display_options['fields']['field_ding_event_location']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_location']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_location']['element_class'] = 'event-list-location';
$handler->display->display_options['fields']['field_ding_event_location']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_location']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['click_sort_column'] = 'name_line';
$handler->display->display_options['fields']['field_ding_event_location']['settings'] = array(
'use_widget_handlers' => 0,
'format_handlers' => array(
'name-oneline' => 'name-oneline',
),
);
/* Field: Time (from - to) */
$handler->display->display_options['fields']['field_ding_event_date']['id'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['ui_name'] = 'Time (from - to)';
$handler->display->display_options['fields']['field_ding_event_date']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_date']['element_class'] = 'event-list-time';
$handler->display->display_options['fields']['field_ding_event_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_date']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['settings'] = array(
'format_type' => 'ding_time_only',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Price */
$handler->display->display_options['fields']['field_ding_event_price']['id'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['table'] = 'field_data_field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['field'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['ui_name'] = 'Price';
$handler->display->display_options['fields']['field_ding_event_price']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_price']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_price']['element_class'] = 'event-list-price';
$handler->display->display_options['fields']['field_ding_event_price']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_price']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['settings'] = array(
'thousand_separator' => ' ',
'prefix_suffix' => 1,
);
/* Field: Link (arrow) */
$handler->display->display_options['fields']['view_node']['id'] = 'view_node';
$handler->display->display_options['fields']['view_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['view_node']['field'] = 'view_node';
$handler->display->display_options['fields']['view_node']['ui_name'] = 'Link (arrow)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['view_node']['alter']['text'] = '<i class="icon-chevron-right"></i>';
$handler->display->display_options['fields']['view_node']['element_type'] = 'div';
$handler->display->display_options['fields']['view_node']['element_class'] = 'event-arrow-link';
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['view_node']['text'] = 'Læs mere';
$handler->display->display_options['defaults']['arguments'] = FALSE;
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'ding_event' => 'ding_event',
);
$handler->display->display_options['filters']['type']['group'] = 1;
/* Filter criterion: Content: Promoted to front page */
$handler->display->display_options['filters']['promote']['id'] = 'promote';
$handler->display->display_options['filters']['promote']['table'] = 'node';
$handler->display->display_options['filters']['promote']['field'] = 'promote';
$handler->display->display_options['filters']['promote']['value'] = '1';
$handler->display->display_options['filters']['promote']['group'] = 1;
/* Filter criterion: Date: Date (node) */
$handler->display->display_options['filters']['date_filter']['id'] = 'date_filter';
$handler->display->display_options['filters']['date_filter']['table'] = 'node';
$handler->display->display_options['filters']['date_filter']['field'] = 'date_filter';
$handler->display->display_options['filters']['date_filter']['operator'] = '>=';
$handler->display->display_options['filters']['date_filter']['group'] = 1;
$handler->display->display_options['filters']['date_filter']['default_date'] = 'now';
$handler->display->display_options['filters']['date_filter']['date_fields'] = array(
'field_data_field_ding_event_date.field_ding_event_date_value' => 'field_data_field_ding_event_date.field_ding_event_date_value',
'field_data_field_ding_event_date.field_ding_event_date_value2' => 'field_data_field_ding_event_date.field_ding_event_date_value2',
);
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type_1']['id'] = 'type_1';
$handler->display->display_options['filters']['type_1']['table'] = 'node';
$handler->display->display_options['filters']['type_1']['field'] = 'type';
$handler->display->display_options['filters']['type_1']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['filters']['type_1']['value'] = array(
'ding_library' => 'ding_library',
);
$handler->display->display_options['filters']['type_1']['group'] = 1;
$handler->display->display_options['pane_category']['name'] = 'Event panes';
$handler->display->display_options['pane_category']['weight'] = '0';
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 'title_override';
$handler->display->display_options['allow']['exposed_form'] = 0;
$handler->display->display_options['allow']['fields_override'] = 0;
$handler->display->display_options['argument_input'] = array(
'tid' => array(
'type' => 'context',
'context' => 'entity:taxonomy_term.tid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '%tid',
'label' => 'Content: Has taxonomy term ID',
),
);
/* Display: Library event list */
$handler = $view->new_display('panel_pane', 'Library event list', 'ding_event_library_list');
$handler->display->display_options['defaults']['use_more'] = FALSE;
$handler->display->display_options['defaults']['link_display'] = FALSE;
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'arrangementer';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Number of elements';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alle -';
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Forskydning';
$handler->display->display_options['pager']['options']['tags']['first'] = '« First';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ previous';
$handler->display->display_options['pager']['options']['tags']['next'] = 'Next ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'Last »';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['grouping'] = array(
0 => array(
'field' => 'field_ding_event_date_1',
'rendered' => 1,
'rendered_strip' => 0,
),
);
$handler->display->display_options['style_options']['row_class'] = 'list-item';
$handler->display->display_options['style_options']['class'] = 'list event-list';
$handler->display->display_options['style_options']['wrapper_class'] = '';
$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['row_options']['default_field_elements'] = FALSE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['empty'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: OG membership: OG membership from Node */
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
/* Relationship: OG membership: Group Node from OG membership */
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['relationship'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_related_node_group']['label'] = 'OG node group';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Date (for group header) (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_1']['id'] = 'field_ding_event_date_1';
$handler->display->display_options['fields']['field_ding_event_date_1']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['ui_name'] = 'Date (for group header) (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_1']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_1']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['type'] = 'calendar_header';
$handler->display->display_options['fields']['field_ding_event_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['ui_name'] = 'Title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'event-list-heading';
$handler->display->display_options['fields']['title']['element_label_type'] = '0';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
/* Field: Description (content) */
$handler->display->display_options['fields']['field_ding_event_lead']['id'] = 'field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['table'] = 'field_data_field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['field'] = 'field_ding_event_lead';
$handler->display->display_options['fields']['field_ding_event_lead']['ui_name'] = 'Description (content)';
$handler->display->display_options['fields']['field_ding_event_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_event_lead']['element_class'] = 'event-list-description';
$handler->display->display_options['fields']['field_ding_event_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_lead']['element_default_classes'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['relationship'] = 'og_membership_related_node_group';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['element_type'] = 'span';
$handler->display->display_options['fields']['title_1']['element_class'] = 'event-list-location';
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['title_1']['element_default_classes'] = FALSE;
/* Field: Location */
$handler->display->display_options['fields']['field_ding_event_location']['id'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['table'] = 'field_data_field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['field'] = 'field_ding_event_location';
$handler->display->display_options['fields']['field_ding_event_location']['ui_name'] = 'Location';
$handler->display->display_options['fields']['field_ding_event_location']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_location']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_location']['element_class'] = 'event-list-location';
$handler->display->display_options['fields']['field_ding_event_location']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_location']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_location']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_location']['click_sort_column'] = 'name_line';
$handler->display->display_options['fields']['field_ding_event_location']['settings'] = array(
'use_widget_handlers' => 0,
'format_handlers' => array(
'name-oneline' => 'name-oneline',
),
);
/* Field: Time (from - to) */
$handler->display->display_options['fields']['field_ding_event_date']['id'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date']['ui_name'] = 'Time (from - to)';
$handler->display->display_options['fields']['field_ding_event_date']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date']['alter']['strip_tags'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_date']['element_class'] = 'event-list-time';
$handler->display->display_options['fields']['field_ding_event_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_date']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date']['settings'] = array(
'format_type' => 'ding_time_only',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: Price */
$handler->display->display_options['fields']['field_ding_event_price']['id'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['table'] = 'field_data_field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['field'] = 'field_ding_event_price';
$handler->display->display_options['fields']['field_ding_event_price']['ui_name'] = 'Price';
$handler->display->display_options['fields']['field_ding_event_price']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_price']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_event_price']['element_class'] = 'event-list-price';
$handler->display->display_options['fields']['field_ding_event_price']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_price']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_price']['settings'] = array(
'thousand_separator' => ' ',
'prefix_suffix' => 1,
);
/* Field: Link (arrow) */
$handler->display->display_options['fields']['view_node']['id'] = 'view_node';
$handler->display->display_options['fields']['view_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['view_node']['field'] = 'view_node';
$handler->display->display_options['fields']['view_node']['ui_name'] = 'Link (arrow)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['view_node']['alter']['text'] = '<i class="icon-chevron-right"></i>';
$handler->display->display_options['fields']['view_node']['element_type'] = 'div';
$handler->display->display_options['fields']['view_node']['element_class'] = 'event-arrow-link';
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['view_node']['text'] = 'Læs mere';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Contextual filter: OG membership: Group ID */
$handler->display->display_options['arguments']['gid']['id'] = 'gid';
$handler->display->display_options['arguments']['gid']['table'] = 'og_membership';
$handler->display->display_options['arguments']['gid']['field'] = 'gid';
$handler->display->display_options['arguments']['gid']['relationship'] = 'og_membership_rel';
$handler->display->display_options['arguments']['gid']['default_action'] = 'empty';
$handler->display->display_options['arguments']['gid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['gid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['gid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['gid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['pane_category']['name'] = 'Library panes';
$handler->display->display_options['pane_category']['weight'] = '0';
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 'title_override';
$handler->display->display_options['allow']['exposed_form'] = 'exposed_form';
$handler->display->display_options['allow']['fields_override'] = 0;
$handler->display->display_options['argument_input'] = array(
'gid' => array(
'type' => 'context',
'context' => 'entity:node.nid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'OG membership: Group ID',
),
'tid' => array(
'type' => 'context',
'context' => 'entity:taxonomy_term.tid',
'context_optional' => 1,
'panel' => '1',
'fixed' => '%tid',
'label' => 'Content: Has taxonomy term ID',
),
);
/* Display: Event list (library) */
$handler = $view->new_display('panel_pane', 'Event list (library)', 'ding_event_list_library');
$handler->display->display_options['defaults']['use_more'] = FALSE;
$handler->display->display_options['defaults']['link_display'] = FALSE;
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'bibliotek/%1/arrangementer';
$handler->display->display_options['field_language_add_to_query'] = 0;
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Number of elements';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alle -';
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Forskydning';
$handler->display->display_options['pager']['options']['tags']['first'] = '« First';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ previous';
$handler->display->display_options['pager']['options']['tags']['next'] = 'Next ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'Last »';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['grouping'] = array(
0 => array(
'field' => 'field_ding_event_date_1',
'rendered' => 1,
'rendered_strip' => 0,
),
);
$handler->display->display_options['style_options']['row_class'] = 'list-item';
$handler->display->display_options['style_options']['class'] = 'list event-list';
$handler->display->display_options['style_options']['wrapper_class'] = '';
$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;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: OG membership: OG membership from Node */
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
/* Relationship: OG membership: Group Node from OG membership */
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['relationship'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_related_node_group']['label'] = 'OG node group';
$handler->display->display_options['relationships']['og_membership_related_node_group']['required'] = TRUE;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Date (for group header) (excluded) */
$handler->display->display_options['fields']['field_ding_event_date_1']['id'] = 'field_ding_event_date_1';
$handler->display->display_options['fields']['field_ding_event_date_1']['table'] = 'field_data_field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['field'] = 'field_ding_event_date';
$handler->display->display_options['fields']['field_ding_event_date_1']['ui_name'] = 'Date (for group header) (excluded)';
$handler->display->display_options['fields']['field_ding_event_date_1']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_date_1']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_date_1']['type'] = 'calendar_header';
$handler->display->display_options['fields']['field_ding_event_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Field: List image */
$handler->display->display_options['fields']['field_ding_event_list_image']['id'] = 'field_ding_event_list_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['table'] = 'field_data_field_ding_event_list_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['field'] = 'field_ding_event_list_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['ui_name'] = 'List image';
$handler->display->display_options['fields']['field_ding_event_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_type'] = '0';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_list_image']['element_wrapper_type'] = 'div';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_wrapper_class'] = 'event-image-wrapper';
$handler->display->display_options['fields']['field_ding_event_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_event_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_event_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_event_list_image']['settings'] = array(
'relationship' => 'none',
'ui_name' => 'List image',
'custom_label' => 0,
'label' => '',
'element_label_colon' => 0,
'exclude' => 0,
'element_type_enable' => 1,
'element_type' => '0',
'element_class_enable' => 0,
'element_class' => '',
'element_label_type_enable' => 0,