-
Notifications
You must be signed in to change notification settings - Fork 2
/
ding_news.views_default.inc
1875 lines (1860 loc) · 124 KB
/
ding_news.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_news.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function ding_news_views_default_views() {
$export = array();
$view = new view();
$view->name = 'ding_news';
$view->description = '';
$view->tag = 'ding_news';
$view->base_table = 'node';
$view->human_name = 'Ding news';
$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['title'] = 'Library news';
$handler->display->display_options['css_class'] = 'news-list';
$handler->display->display_options['use_more'] = TRUE;
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['use_more_text'] = 'See all news';
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'nyheder';
$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['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Udfør';
$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'] = 'default';
$handler->display->display_options['style_options']['row_class'] = 'news-list-item';
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['default_field_elements'] = FALSE;
/* 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 news where found.';
$handler->display->display_options['empty']['area']['format'] = 'ding_wysiwyg';
/* Relationship: Content: Author */
$handler->display->display_options['relationships']['uid']['id'] = 'uid';
$handler->display->display_options['relationships']['uid']['table'] = 'node';
$handler->display->display_options['relationships']['uid']['field'] = 'uid';
/* Field: Category (excluded) */
$handler->display->display_options['fields']['field_ding_news_category']['id'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['table'] = 'field_data_field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['field'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['ui_name'] = 'Category (excluded)';
$handler->display->display_options['fields']['field_ding_news_category']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_category']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_ding_news_category']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_category']['element_default_classes'] = FALSE;
/* Field: Date (excluded) */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'node';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['ui_name'] = 'Date (excluded)';
$handler->display->display_options['fields']['created']['label'] = '';
$handler->display->display_options['fields']['created']['exclude'] = TRUE;
$handler->display->display_options['fields']['created']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['created']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['created']['date_format'] = 'ding_long_date_only';
/* Field: Author (excluded) */
$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']['relationship'] = 'uid';
$handler->display->display_options['fields']['name']['ui_name'] = 'Author (excluded)';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['exclude'] = TRUE;
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['name']['element_default_classes'] = FALSE;
/* Field: News 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'] = 'News title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'news-heading';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
/* Field: Category, date and author */
$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'] = 'Category, date and author';
$handler->display->display_options['fields']['nothing']['label'] = '';
$handler->display->display_options['fields']['nothing']['alter']['text'] = '<span class="news-label">[field_ding_news_category]</span> <span class="news-date">[created]</span> | <span class="news-author">af [name]</span>';
$handler->display->display_options['fields']['nothing']['element_type'] = 'div';
$handler->display->display_options['fields']['nothing']['element_class'] = 'news-sub-heading';
$handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['nothing']['element_default_classes'] = FALSE;
/* Field: Image (list image) */
$handler->display->display_options['fields']['field_ding_news_list_image']['id'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['table'] = 'field_data_field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['field'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['ui_name'] = 'Image (list image)';
$handler->display->display_options['fields']['field_ding_news_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_type'] = 'div';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_class'] = 'news-image-wrapper';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_news_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['settings'] = array(
'relationship' => 'none',
'ui_name' => 'Image (list image)',
'custom_label' => 0,
'label' => '',
'element_label_colon' => 0,
'exclude' => 0,
'element_type_enable' => 1,
'element_type' => 'div',
'element_class_enable' => 1,
'element_class' => 'image-container',
'element_label_type_enable' => 0,
'element_label_type' => '',
'element_label_class_enable' => 0,
'element_label_class' => '',
'element_wrapper_type_enable' => 0,
'element_wrapper_type' => '',
'element_wrapper_class_enable' => 0,
'element_wrapper_class' => '',
'element_default_classes' => 0,
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'replace_spaces' => 0,
'external' => 0,
'path_case' => 'none',
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'more_link' => 0,
'more_link_text' => '',
'more_link_path' => '',
'html' => 0,
'strip_tags' => 0,
'preserve_tags' => '',
'trim_whitespace' => 0,
'nl2br' => 0,
),
'empty' => '',
'empty_zero' => 0,
'hide_empty' => 0,
'hide_alter_empty' => 1,
'click_sort_column' => 'fid',
'type' => 'cs_adaptive_image',
'field_api_classes' => 0,
'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_large',
'fallback_style' => 'ding_list_large',
),
);
/* Field: Lead (content) */
$handler->display->display_options['fields']['field_ding_news_lead']['id'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['table'] = 'field_data_field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['field'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['ui_name'] = 'Lead (content)';
$handler->display->display_options['fields']['field_ding_news_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_news_lead']['element_class'] = 'news-list-content';
$handler->display->display_options['fields']['field_ding_news_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_lead']['element_default_classes'] = FALSE;
/* Field: Link (read more) */
$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 (read more)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['element_type'] = 'span';
$handler->display->display_options['fields']['view_node']['element_class'] = 'news-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';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* 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'] = 'fixed';
$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(
'news_category' => 'news_category',
);
$handler->display->display_options['arguments']['tid']['validate_options']['type'] = 'convert';
/* 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_news' => 'ding_news',
);
/* Display: News list (frontpage) */
$handler = $view->new_display('panel_pane', 'News list (frontpage)', 'ding_news_frontpage_list');
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['defaults']['use_more'] = FALSE;
$handler->display->display_options['use_more'] = TRUE;
$handler->display->display_options['defaults']['use_more_always'] = FALSE;
$handler->display->display_options['defaults']['use_more_always'] = FALSE;
$handler->display->display_options['use_more_always'] = TRUE;
$handler->display->display_options['defaults']['use_more_text'] = FALSE;
$handler->display->display_options['use_more_text'] = 'See all news';
$handler->display->display_options['defaults']['link_display'] = FALSE;
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'nyheder';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
$handler->display->display_options['pager']['options']['offset'] = '';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['row_class'] = 'news-list-item';
$handler->display->display_options['style_options']['class'] = 'list news-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']['relationships'] = FALSE;
/* Relationship: Content: Author */
$handler->display->display_options['relationships']['uid']['id'] = 'uid';
$handler->display->display_options['relationships']['uid']['table'] = 'node';
$handler->display->display_options['relationships']['uid']['field'] = 'uid';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Image (list image) */
$handler->display->display_options['fields']['field_ding_news_list_image']['id'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['table'] = 'field_data_field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['field'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['ui_name'] = 'Image (list image)';
$handler->display->display_options['fields']['field_ding_news_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_type'] = 'div';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_class'] = 'news-image-wrapper';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_news_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_news_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_large',
'fallback_style' => 'ding_list_large',
),
);
/* 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']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'news-heading';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
/* Field: Category */
$handler->display->display_options['fields']['field_ding_news_category']['id'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['table'] = 'field_data_field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['field'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['ui_name'] = 'Category';
$handler->display->display_options['fields']['field_ding_news_category']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_category']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_news_category']['element_class'] = 'news-label';
$handler->display->display_options['fields']['field_ding_news_category']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_category']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_news_category']['element_default_classes'] = FALSE;
/* Field: Date */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'node';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['ui_name'] = 'Date';
$handler->display->display_options['fields']['created']['label'] = '';
$handler->display->display_options['fields']['created']['element_type'] = 'span';
$handler->display->display_options['fields']['created']['element_class'] = 'news-date';
$handler->display->display_options['fields']['created']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['created']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['created']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['created']['date_format'] = 'ding_long_date_only';
/* Field: Author */
$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']['relationship'] = 'uid';
$handler->display->display_options['fields']['name']['ui_name'] = 'Author';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['element_type'] = 'span';
$handler->display->display_options['fields']['name']['element_class'] = 'news-author';
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['name']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['name']['element_default_classes'] = FALSE;
/* Field: Lead */
$handler->display->display_options['fields']['field_ding_news_lead']['id'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['table'] = 'field_data_field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['field'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['ui_name'] = 'Lead';
$handler->display->display_options['fields']['field_ding_news_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_news_lead']['element_class'] = 'news-list-content';
$handler->display->display_options['fields']['field_ding_news_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_lead']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_news_lead']['element_default_classes'] = FALSE;
/* Field: Link (read more) */
$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 (read more)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node']['element_wrapper_type'] = 'span';
$handler->display->display_options['fields']['view_node']['element_wrapper_class'] = 'news-link';
$handler->display->display_options['fields']['view_node']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['view_node']['text'] = 'Læs mere';
/* Field: Content: Link */
$handler->display->display_options['fields']['view_node_1']['id'] = 'view_node_1';
$handler->display->display_options['fields']['view_node_1']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['view_node_1']['field'] = 'view_node';
$handler->display->display_options['fields']['view_node_1']['label'] = '';
$handler->display->display_options['fields']['view_node_1']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['view_node_1']['alter']['text'] = '<i class="icon-chevron-right"></i>';
$handler->display->display_options['fields']['view_node_1']['element_type'] = 'div';
$handler->display->display_options['fields']['view_node_1']['element_class'] = 'news-arrow-link';
$handler->display->display_options['fields']['view_node_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node_1']['element_default_classes'] = FALSE;
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sort criterion: Content: Sticky */
$handler->display->display_options['sorts']['sticky']['id'] = 'sticky';
$handler->display->display_options['sorts']['sticky']['table'] = 'node';
$handler->display->display_options['sorts']['sticky']['field'] = 'sticky';
$handler->display->display_options['sorts']['sticky']['order'] = 'DESC';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
$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'] = 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_news' => 'ding_news',
);
/* 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['pane_category']['name'] = 'News 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;
/* Display: Library news list */
$handler = $view->new_display('panel_pane', 'Library news list', 'ding_news_library_list');
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['defaults']['link_display'] = FALSE;
$handler->display->display_options['link_display'] = 'custom_url';
$handler->display->display_options['link_url'] = 'nyheder';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
$handler->display->display_options['pager']['options']['offset'] = '';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['row_class'] = 'news-list-item';
$handler->display->display_options['style_options']['class'] = 'list news-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']['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';
/* Relationship: Content: Author */
$handler->display->display_options['relationships']['uid']['id'] = 'uid';
$handler->display->display_options['relationships']['uid']['table'] = 'node';
$handler->display->display_options['relationships']['uid']['field'] = 'uid';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Image (list image) */
$handler->display->display_options['fields']['field_ding_news_list_image']['id'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['table'] = 'field_data_field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['field'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['ui_name'] = 'Image (list image)';
$handler->display->display_options['fields']['field_ding_news_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_type'] = 'div';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_class'] = 'news-image-wrapper';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_news_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_news_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_large',
'fallback_style' => 'ding_list_large',
),
);
/* 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']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'news-heading';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
/* Field: Category */
$handler->display->display_options['fields']['field_ding_news_category']['id'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['table'] = 'field_data_field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['field'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['ui_name'] = 'Category';
$handler->display->display_options['fields']['field_ding_news_category']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_category']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_news_category']['element_class'] = 'news-label';
$handler->display->display_options['fields']['field_ding_news_category']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_category']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_news_category']['element_default_classes'] = FALSE;
/* Field: Date */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'node';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['ui_name'] = 'Date';
$handler->display->display_options['fields']['created']['label'] = '';
$handler->display->display_options['fields']['created']['element_type'] = 'span';
$handler->display->display_options['fields']['created']['element_class'] = 'news-date';
$handler->display->display_options['fields']['created']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['created']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['created']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['created']['date_format'] = 'ding_long_date_only';
/* Field: Author */
$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']['relationship'] = 'uid';
$handler->display->display_options['fields']['name']['ui_name'] = 'Author';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['element_type'] = 'span';
$handler->display->display_options['fields']['name']['element_class'] = 'news-author';
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['name']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['name']['element_default_classes'] = FALSE;
/* Field: Lead */
$handler->display->display_options['fields']['field_ding_news_lead']['id'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['table'] = 'field_data_field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['field'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['ui_name'] = 'Lead';
$handler->display->display_options['fields']['field_ding_news_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_news_lead']['element_class'] = 'news-list-content';
$handler->display->display_options['fields']['field_ding_news_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_lead']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_news_lead']['element_default_classes'] = FALSE;
/* Field: Link (read more) */
$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 (read more)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node']['element_wrapper_type'] = 'span';
$handler->display->display_options['fields']['view_node']['element_wrapper_class'] = 'news-link';
$handler->display->display_options['fields']['view_node']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['view_node']['text'] = 'Læs mere';
/* Field: Content: Link */
$handler->display->display_options['fields']['view_node_1']['id'] = 'view_node_1';
$handler->display->display_options['fields']['view_node_1']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['view_node_1']['field'] = 'view_node';
$handler->display->display_options['fields']['view_node_1']['label'] = '';
$handler->display->display_options['fields']['view_node_1']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['view_node_1']['alter']['text'] = '<i class="icon-chevron-right"></i>';
$handler->display->display_options['fields']['view_node_1']['element_type'] = 'div';
$handler->display->display_options['fields']['view_node_1']['element_class'] = 'news-arrow-link';
$handler->display->display_options['fields']['view_node_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node_1']['element_default_classes'] = FALSE;
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sort criterion: Content: Sticky */
$handler->display->display_options['sorts']['sticky']['id'] = 'sticky';
$handler->display->display_options['sorts']['sticky']['table'] = 'node';
$handler->display->display_options['sorts']['sticky']['field'] = 'sticky';
$handler->display->display_options['sorts']['sticky']['order'] = 'DESC';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
$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',
),
);
/* Display: News list */
$handler = $view->new_display('panel_pane', 'News list', 'ding_news_list');
$handler->display->display_options['defaults']['css_class'] = FALSE;
$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'] = 'nyheder';
$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'] = '';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Antal elementer';
$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'] = '« første';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ forrige';
$handler->display->display_options['pager']['options']['tags']['next'] = 'næste ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'sidste »';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['row_class'] = 'news-list-item';
$handler->display->display_options['style_options']['class'] = 'list news-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: Content: Author */
$handler->display->display_options['relationships']['uid']['id'] = 'uid';
$handler->display->display_options['relationships']['uid']['table'] = 'node';
$handler->display->display_options['relationships']['uid']['field'] = 'uid';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Image (list image) */
$handler->display->display_options['fields']['field_ding_news_list_image']['id'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['table'] = 'field_data_field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['field'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['ui_name'] = 'Image (list image)';
$handler->display->display_options['fields']['field_ding_news_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_type'] = 'div';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_class'] = 'news-image-wrapper';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_news_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['settings'] = array(
'relationship' => 'none',
'ui_name' => 'Image (list image)',
'custom_label' => 0,
'label' => '',
'element_label_colon' => 0,
'exclude' => 0,
'element_type_enable' => 1,
'element_type' => 'div',
'element_class_enable' => 1,
'element_class' => 'news-image-wrapper',
'element_label_type_enable' => 0,
'element_label_type' => '',
'element_label_class_enable' => 0,
'element_label_class' => '',
'element_wrapper_type_enable' => 0,
'element_wrapper_type' => '',
'element_wrapper_class_enable' => 0,
'element_wrapper_class' => '',
'element_default_classes' => 0,
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'replace_spaces' => 0,
'external' => 0,
'path_case' => 'none',
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'more_link' => 0,
'more_link_text' => '',
'more_link_path' => '',
'html' => 0,
'strip_tags' => 0,
'preserve_tags' => '',
'trim_whitespace' => 0,
'nl2br' => 0,
),
'empty' => '',
'empty_zero' => 0,
'hide_empty' => 0,
'hide_alter_empty' => 1,
'click_sort_column' => 'fid',
'type' => 'cs_adaptive_image',
'field_api_classes' => 0,
'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_large',
'fallback_style' => 'ding_list_large',
),
);
/* 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']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'news-heading';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
/* Field: Category */
$handler->display->display_options['fields']['field_ding_news_category']['id'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['table'] = 'field_data_field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['field'] = 'field_ding_news_category';
$handler->display->display_options['fields']['field_ding_news_category']['ui_name'] = 'Category';
$handler->display->display_options['fields']['field_ding_news_category']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_category']['element_type'] = 'span';
$handler->display->display_options['fields']['field_ding_news_category']['element_class'] = 'news-label';
$handler->display->display_options['fields']['field_ding_news_category']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_category']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_news_category']['element_default_classes'] = FALSE;
/* Field: Date */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'node';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['ui_name'] = 'Date';
$handler->display->display_options['fields']['created']['label'] = '';
$handler->display->display_options['fields']['created']['element_type'] = 'span';
$handler->display->display_options['fields']['created']['element_class'] = 'news-date';
$handler->display->display_options['fields']['created']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['created']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['created']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['created']['date_format'] = 'ding_long_date_only';
/* Field: Author */
$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']['relationship'] = 'uid';
$handler->display->display_options['fields']['name']['ui_name'] = 'Author';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['element_type'] = 'span';
$handler->display->display_options['fields']['name']['element_class'] = 'news-author';
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['name']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['name']['element_default_classes'] = FALSE;
/* Field: Lead */
$handler->display->display_options['fields']['field_ding_news_lead']['id'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['table'] = 'field_data_field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['field'] = 'field_ding_news_lead';
$handler->display->display_options['fields']['field_ding_news_lead']['ui_name'] = 'Lead';
$handler->display->display_options['fields']['field_ding_news_lead']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_lead']['element_type'] = 'p';
$handler->display->display_options['fields']['field_ding_news_lead']['element_class'] = 'news-list-content';
$handler->display->display_options['fields']['field_ding_news_lead']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_lead']['element_wrapper_type'] = '0';
$handler->display->display_options['fields']['field_ding_news_lead']['element_default_classes'] = FALSE;
/* Field: Link (read more) */
$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 (read more)';
$handler->display->display_options['fields']['view_node']['label'] = '';
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node']['element_wrapper_type'] = 'span';
$handler->display->display_options['fields']['view_node']['element_wrapper_class'] = 'news-link';
$handler->display->display_options['fields']['view_node']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['view_node']['text'] = 'Læs mere';
/* Field: Content: Link */
$handler->display->display_options['fields']['view_node_1']['id'] = 'view_node_1';
$handler->display->display_options['fields']['view_node_1']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['view_node_1']['field'] = 'view_node';
$handler->display->display_options['fields']['view_node_1']['label'] = '';
$handler->display->display_options['fields']['view_node_1']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['view_node_1']['alter']['text'] = '<i class="icon-chevron-right"></i>';
$handler->display->display_options['fields']['view_node_1']['element_type'] = 'div';
$handler->display->display_options['fields']['view_node_1']['element_class'] = 'news-arrow-link';
$handler->display->display_options['fields']['view_node_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['view_node_1']['element_default_classes'] = FALSE;
$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'] = 'fixed';
$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(
'news_category' => 'news_category',
);
$handler->display->display_options['pane_category']['name'] = 'News 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' => 'panel',
'context' => 'entity:user.uid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Indhold: Har taksonomiterm ID',
),
);
/* Display: Library Feed */
$handler = $view->new_display('feed', 'Library Feed', 'ding_news_library_feed');
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '20';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['style_plugin'] = 'rss';
$handler->display->display_options['row_plugin'] = 'node_rss';
$handler->display->display_options['defaults']['arguments'] = FALSE;
$handler->display->display_options['path'] = 'node/%/news/feed';
$handler->display->display_options['displays'] = array(
'default' => 0,
'ding_news_frontpage_list' => 0,
'ding_news_library_list' => 0,
'ding_news_list' => 0,
'ding_news_list_library' => 0,
'panel_pane_2' => 0,
);
$handler->display->display_options['sitename_title'] = 1;
/* Display: Feed */
$handler = $view->new_display('feed', 'Feed', 'ding_news_feed');
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '20';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['style_plugin'] = 'rss';
$handler->display->display_options['row_plugin'] = 'node_rss';
$handler->display->display_options['path'] = 'news/feed';
$handler->display->display_options['displays'] = array(
'default' => 0,
'ding_news_frontpage_list' => 0,
'ding_news_library_list' => 0,
'ding_news_list' => 0,
'ding_news_list_library' => 0,
'panel_pane_2' => 0,
);
$handler->display->display_options['sitename_title'] = 1;
/* Display: Simple news list */
$handler = $view->new_display('panel_pane', 'Simple news list', 'panel_pane_2');
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['css_class'] = 'news-list';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Date (excluded) */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'node';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['ui_name'] = 'Date (excluded)';
$handler->display->display_options['fields']['created']['label'] = '';
$handler->display->display_options['fields']['created']['element_type'] = 'span';
$handler->display->display_options['fields']['created']['element_class'] = 'date';
$handler->display->display_options['fields']['created']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['created']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['created']['date_format'] = 'custom';
$handler->display->display_options['fields']['created']['custom_date_format'] = 'j. M';
/* 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']['element_type'] = 'h3';
$handler->display->display_options['fields']['title']['element_class'] = 'heading';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
$handler->display->display_options['pane_category']['name'] = 'News panes';
$handler->display->display_options['pane_category']['weight'] = '0';
/* Display: News list (library) */
$handler = $view->new_display('panel_pane', 'News list (library)', 'ding_news_list_library');
$handler->display->display_options['defaults']['css_class'] = FALSE;
$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'] = 'nyheder';
$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'] = '';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Antal elementer';
$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'] = '« første';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ forrige';
$handler->display->display_options['pager']['options']['tags']['next'] = 'næste ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'sidste »';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['row_class'] = 'news-list-item';
$handler->display->display_options['style_options']['class'] = 'list news-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';
/* Relationship: Content: Author */
$handler->display->display_options['relationships']['uid']['id'] = 'uid';
$handler->display->display_options['relationships']['uid']['table'] = 'node';
$handler->display->display_options['relationships']['uid']['field'] = 'uid';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Image (list image) */
$handler->display->display_options['fields']['field_ding_news_list_image']['id'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['table'] = 'field_data_field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['field'] = 'field_ding_news_list_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['ui_name'] = 'Image (list image)';
$handler->display->display_options['fields']['field_ding_news_list_image']['label'] = '';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_type'] = 'div';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_class'] = 'news-image-wrapper';
$handler->display->display_options['fields']['field_ding_news_list_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_ding_news_list_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_ding_news_list_image']['type'] = 'cs_adaptive_image';
$handler->display->display_options['fields']['field_ding_news_list_image']['settings'] = array(
'relationship' => 'none',
'ui_name' => 'Image (list image)',
'custom_label' => 0,
'label' => '',
'element_label_colon' => 0,
'exclude' => 0,
'element_type_enable' => 1,
'element_type' => 'div',
'element_class_enable' => 1,
'element_class' => 'news-image-wrapper',
'element_label_type_enable' => 0,
'element_label_type' => '',
'element_label_class_enable' => 0,
'element_label_class' => '',
'element_wrapper_type_enable' => 0,
'element_wrapper_type' => '',
'element_wrapper_class_enable' => 0,
'element_wrapper_class' => '',
'element_default_classes' => 0,
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'replace_spaces' => 0,
'external' => 0,
'path_case' => 'none',
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'more_link' => 0,
'more_link_text' => '',
'more_link_path' => '',
'html' => 0,
'strip_tags' => 0,
'preserve_tags' => '',
'trim_whitespace' => 0,
'nl2br' => 0,
),
'empty' => '',