Revision: 6395
Updated Code
at May 26, 2008 14:32 by shrop
Updated Code
$view = new stdClass(); $view->name = 'image_gallery'; $view->description = 'Image gallery photos uploaded by users.'; $view->access = array ( ); $view->view_args_php = ''; $view->page = TRUE; $view->page_title = 'Image Gallery'; $view->page_header = ''; $view->page_header_format = '1'; $view->page_footer = ''; $view->page_footer_format = '1'; $view->page_empty = ''; $view->page_empty_format = '1'; $view->page_type = 'bonus_grid'; $view->url = 'gallery'; $view->use_pager = TRUE; $view->nodes_per_page = '24'; $view->sort = array ( ); $view->argument = array ( ); $view->field = array ( array ( 'tablename' => 'node', 'field' => 'title', 'label' => '', 'handler' => 'views_handler_field_nodelink', 'options' => 'link', ), array ( 'tablename' => 'node_data_field_image', 'field' => 'field_image_fid', 'label' => '', 'handler' => 'content_views_field_handler_ungroup', 'options' => 'thickbox][square-thumbnail', ), ); $view->filter = array ( array ( 'tablename' => 'node', 'field' => 'status', 'operator' => '=', 'options' => '', 'value' => '1', ), array ( 'tablename' => 'node', 'field' => 'type', 'operator' => 'OR', 'options' => '', 'value' => array ( 0 => 'gallery_image', ), ), ); $view->exposed_filter = array ( ); $view->requires = array(node, node_data_field_image); $views[$view->name] = $view;
Revision: 6394
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 19, 2008 16:20 by shrop
Initial Code
Initial URL
Initial Description
View to use with the docs at http://drupal.org/node/144725 for creating image gallery using cck, views and thickbox.
Initial Title
Drupal: View for Image Gallery
Initial Tags
textmate, drupal
Initial Language
Other