Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reloaded:views_frontpage1 [2017/06/20 16:59]
giancarlo created
reloaded:views_frontpage1 [2017/06/20 17:00] (current)
giancarlo
Line 14: Line 14:
 <WRAP prewrap center> <WRAP prewrap center>
 <​code>​ <​code>​
 +$view = new view();
 +$view->​name = '​front_lastingested_slideshow';​
 +$view->​description = '';​
 +$view->​tag = '​default';​
 +$view->​base_table = '​islandora_solr';​
 +$view->​human_name = '​Front_lastIngested_slideshow';​
 +$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'​] = 'Most recently updated documents';​
 +$handler->​display->​display_options['​use_more_always'​] = FALSE;
 +$handler->​display->​display_options['​access'​]['​type'​] = '​none';​
 +$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['​pager'​]['​type'​] = '​some';​
 +$handler->​display->​display_options['​pager'​]['​options'​]['​items_per_page'​] = '​16';​
 +$handler->​display->​display_options['​pager'​]['​options'​]['​offset'​] = '​20';​
 +$handler->​display->​display_options['​style_plugin'​] = '​slideshow';​
 +$handler->​display->​display_options['​style_options'​]['​bxslider_views_slideshow'​]['​general'​] = array(
 +  '​mode'​ => '​horizontal',​
 +  '​speed'​ => '​2000',​
 +  '​slideMargin'​ => '​30',​
 +  '​startSlide'​ => '​0',​
 +  '​randomStart'​ => 0,
 +  '​infiniteLoop'​ => 1,
 +  '​hideControlOnEnd'​ => 0,
 +  '​captions'​ => 1,
 +  '​ticker'​ => 0,
 +  '​tickerHover'​ => 0,
 +  '​adaptiveHeight'​ => 0,
 +  '​adaptiveHeightSpeed'​ => '​500',​
 +  '​video'​ => 0,
 +  '​touchEnabled'​ => 1,
 +  '​preloadImages'​ => '​visible',​
 +  '​disable_standard_css'​ => 0,
 +  '​useCSS'​ => 1,
 +  '​align_image'​ => '​center',​
 +  '​align_caption'​ => '​center',​
 +  '​swipeThreshold'​ => '​50',​
 +  '​oneToOneTouch'​ => 1,
 +  '​preventDefaultSwipeX'​ => 1,
 +  '​preventDefaultSwipeY'​ => 0,
 +  '​color_caption'​ => '80, 80, 80, 0.75',
 +);
 +$handler->​display->​display_options['​style_options'​]['​bxslider_views_slideshow'​]['​controlsfieldset'​] = array(
 +  '​controls'​ => 0,
 +  '​nextText'​ => '',​
 +  '​prevText'​ => '',​
 +  '​startText'​ => '',​
 +  '​stopText'​ => '',​
 +  '​autoControls'​ => 0,
 +  '​autoControlsCombine'​ => 0,
 +);
 +$handler->​display->​display_options['​style_options'​]['​bxslider_views_slideshow'​]['​pagerfieldset'​] = array(
 +  '​pager'​ => 1,
 +  '​pagerType'​ => '​full',​
 +  '​pagerShortSeparator'​ => ' / ',
 +  '​pagerCustom'​ => '',​
 +);
 +$handler->​display->​display_options['​style_options'​]['​bxslider_views_slideshow'​]['​autofieldset'​] = array(
 +  '​pause'​ => '​5000',​
 +  '​autoStart'​ => 1,
 +  '​auto'​ => 1,
 +  '​autoHover'​ => '​1',​
 +  '​autoDelay'​ => '​0',​
 +  '​autoDirection'​ => '​next',​
 +);
 +$handler->​display->​display_options['​style_options'​]['​bxslider_views_slideshow'​]['​carousel'​] = array(
 +  '​minSlides'​ => '​4',​
 +  '​maxSlides'​ => '​4',​
 +  '​moveSlides'​ => '​2',​
 +  '​slideWidth'​ => '​150',​
 +);
 +$handler->​display->​display_options['​style_options'​]['​bxslider_views_slideshow'​]['​callback'​] = array(
 +  '​onSliderLoad'​ => '',​
 +  '​onSlideBefore'​ => '',​
 +  '​onSlideAfter'​ => '',​
 +  '​onSlideNext'​ => '',​
 +  '​onSlidePrev'​ => '',​
 +);
 +$handler->​display->​display_options['​style_options'​]['​slideshow_type'​] = '​bxslider_views_slideshow';​
 +$handler->​display->​display_options['​style_options'​]['​slideshow_skin'​] = '​default';​
 +$handler->​display->​display_options['​style_options'​]['​skin_info'​] = array(
 +  '​class'​ => '​default',​
 +  '​name'​ => '​Default',​
 +  '​module'​ => '​views_slideshow',​
 +  '​path'​ => '',​
 +  '​stylesheets'​ => array(),
 +);
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​type'​] = '​views_slideshow_pager_fields';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​views_slideshow_pager_fields_fields'​] = array(
 +  '​PID'​ => 0,
 +  '​dc.title'​ => 0,
 +  '​dc.creator'​ => 0,
 +  '​dc.date_dt'​ => 0,
 +  '​nothing'​ => 0,
 +);
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_fields'​] = array(
 +  '​PID'​ => 0,
 +  '​dc.title'​ => 0,
 +  '​dc.creator'​ => 0,
 +  '​dc.date_dt'​ => 0,
 +  '​nothing'​ => 0,
 +);
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_orientation'​] = '​0';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_scroll'​] = '​3';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_visible'​] = '​3';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_wrap'​] = '';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_controls'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_controls'​]['​type'​] = '​views_slideshow_controls_text';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_slide_counter'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​top'​]['​views_slideshow_slider'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​type'​] = '​views_slideshow_pager_fields';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​views_slideshow_pager_fields_fields'​] = array(
 +  '​PID'​ => 0,
 +  '​dc.title'​ => 0,
 +  '​dc.creator'​ => 0,
 +  '​dc.date_dt'​ => 0,
 +  '​nothing'​ => 0,
 +);
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_fields'​] = array(
 +  '​PID'​ => 0,
 +  '​dc.title'​ => 0,
 +  '​dc.creator'​ => 0,
 +  '​dc.date_dt'​ => 0,
 +  '​nothing'​ => 0,
 +);
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_orientation'​] = '​0';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_scroll'​] = '​3';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_visible'​] = '​3';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_pager'​]['​views_slideshow_jcarousel_pager_wrap'​] = '';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_controls'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_controls'​]['​type'​] = '​views_slideshow_controls_text';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_slide_counter'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​widgets'​]['​bottom'​]['​views_slideshow_slider'​]['​weight'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​timeout'​] = '​5000';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​speed'​] = '​700';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​delay'​] = '​0';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​remember_slide_days'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​items_per_slide'​] = '​1';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​wait_for_image_load_timeout'​] = '​3000';​
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​cleartype'​] = 0;
 +$handler->​display->​display_options['​style_options'​]['​views_slideshow_cycle'​]['​cleartypenobg'​] = 0;
 +$handler->​display->​display_options['​row_plugin'​] = '​fields';​
 +$handler->​display->​display_options['​row_options'​]['​default_field_elements'​] = FALSE;
 +/* Footer: Global: Unfiltered text */
 +$handler->​display->​display_options['​footer'​]['​area_text_custom'​]['​id'​] = '​area_text_custom';​
 +$handler->​display->​display_options['​footer'​]['​area_text_custom'​]['​table'​] = '​views';​
 +$handler->​display->​display_options['​footer'​]['​area_text_custom'​]['​field'​] = '​area_text_custom';​
 +$handler->​display->​display_options['​footer'​]['​area_text_custom'​]['​content'​] = '<​BR/>​
 +<BR/>
 +<​HR/>';​
 +/* Field: Islandora Solr: PID */
 +$handler->​display->​display_options['​fields'​]['​PID'​]['​id'​] = '​PID';​
 +$handler->​display->​display_options['​fields'​]['​PID'​]['​table'​] = '​islandora_solr';​
 +$handler->​display->​display_options['​fields'​]['​PID'​]['​field'​] = '​PID';​
 +$handler->​display->​display_options['​fields'​]['​PID'​]['​exclude'​] = TRUE;
 +$handler->​display->​display_options['​fields'​]['​PID'​]['​link_to_object'​] = 0;
 +/* Field: Islandora Solr: dc.title */
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​id'​] = '​dc.title';​
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​table'​] = '​islandora_solr';​
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​field'​] = '​dc.title';​
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​label'​] = '';​
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​exclude'​] = TRUE;
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​element_label_colon'​] = FALSE;
 +$handler->​display->​display_options['​fields'​]['​dc.title'​]['​link_to_object'​] = 0;
 +/* Field: Islandora Solr: dc.creator */
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​id'​] = '​dc.creator';​
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​table'​] = '​islandora_solr';​
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​field'​] = '​dc.creator';​
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​label'​] = '';​
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​exclude'​] = TRUE;
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​element_type'​] = '​h5';​
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​element_label_colon'​] = FALSE;
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​hide_empty'​] = TRUE;
 +$handler->​display->​display_options['​fields'​]['​dc.creator'​]['​link_to_object'​] = 0;
 +/* Field: Islandora Solr: dc.date_dt */
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​id'​] = '​dc.date_dt';​
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​table'​] = '​islandora_solr';​
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​field'​] = '​dc.date_dt';​
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​label'​] = '';​
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​exclude'​] = TRUE;
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​element_type'​] = '​h5';​
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​element_label_colon'​] = FALSE;
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​hide_empty'​] = TRUE;
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​link_to_object'​] = 0;
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​date_format'​] = '​custom';​
 +$handler->​display->​display_options['​fields'​]['​dc.date_dt'​]['​custom_date_format'​] = '​Y';​
 +/* Field: Global: Custom text */
 +$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'​]['​label'​] = '';​
 +$handler->​display->​display_options['​fields'​]['​nothing'​]['​alter'​]['​text'​] = '<a href="/​islandora/​object/​[PID]"><​img typeof="​foaf:​Image"​ src="​http://​archive.digibess.eu/​islandora/​object/​[PID]/​datastream/​TN/​view"​ title="​[dc.title] - [dc.date_dt]"​ width="​150"></​a>';​
 +$handler->​display->​display_options['​fields'​]['​nothing'​]['​element_label_colon'​] = FALSE;
 +$handler->​display->​display_options['​fields'​]['​nothing'​]['​hide_empty'​] = TRUE;
 +/* Sort criterion: Islandora Solr: fgs_lastModifiedDate_dt */
 +$handler->​display->​display_options['​sorts'​]['​fgs_lastModifiedDate_dt'​]['​id'​] = '​fgs_lastModifiedDate_dt';​
 +$handler->​display->​display_options['​sorts'​]['​fgs_lastModifiedDate_dt'​]['​table'​] = '​islandora_solr';​
 +$handler->​display->​display_options['​sorts'​]['​fgs_lastModifiedDate_dt'​]['​field'​] = '​fgs_lastModifiedDate_dt';​
 +$handler->​display->​display_options['​sorts'​]['​fgs_lastModifiedDate_dt'​]['​order'​] = '​DESC';​
 +/* Filter criterion: Islandora Solr: RELS_EXT_hasModel_uri_ms */
 +$handler->​display->​display_options['​filters'​]['​RELS_EXT_hasModel_uri_ms'​]['​id'​] = '​RELS_EXT_hasModel_uri_ms';​
 +$handler->​display->​display_options['​filters'​]['​RELS_EXT_hasModel_uri_ms'​]['​table'​] = '​islandora_solr';​
 +$handler->​display->​display_options['​filters'​]['​RELS_EXT_hasModel_uri_ms'​]['​field'​] = '​RELS_EXT_hasModel_uri_ms';​
 +$handler->​display->​display_options['​filters'​]['​RELS_EXT_hasModel_uri_ms'​]['​value'​] = '​info:​fedora/​islandora:​bookCModel';​
 +
 +/* Display: Block */
 +$handler = $view->​new_display('​block',​ '​Block',​ '​block'​);​
 +</​code>​
 +</​WRAP>​
 
 
reloaded/views_frontpage1.txt ยท Last modified: 2017/06/20 17:00 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki