Here: http://www.klimatosoof.nl/nieuwsarchief I make a daily list of interesting newspaper articles. It is a combination of the Weblink module and Views. My problem is: the title of the article and its url are two separate items, I want the title to be a hyperlink. Somehow I think that the Weblinks module doesnt allow me to, but any advice from anyone would be very helpful.
Below is also the export of the View I use.
Thanks
Theo Richel
Here is the export of the view:
$view = new stdClass(); $view->name = 'BennyPeiserArchief'; $view->description = ''; $view->access = array ( ); $view->view_args_php = ''; $view->page = TRUE; $view->page_title = 'Archief van externe berichten'; $view->page_header = ''; $view->page_header_format = '3'; $view->page_footer = ''; $view->page_footer_format = '3'; $view->page_empty = ''; $view->page_empty_format = '3'; $view->page_type = 'table'; $view->url = 'nieuwsarchief'; $view->use_pager = TRUE; $view->nodes_per_page = '40'; $view->sort = array ( array ( 'tablename' => 'node', 'field' => 'created', 'sortorder' => 'DESC', 'options' => 'normal', ), ); $view->argument = array ( ); $view->field = array ( array ( 'tablename' => 'node', 'field' => 'title', 'label' => '', 'handler' => 'views_handler_field_nodelink', 'options' => 'nolink', ), array ( 'tablename' => 'node', 'field' => 'body', 'label' => '', 'handler' => 'views_handler_field_body', ), array ( 'tablename' => 'node', 'field' => 'created', 'label' => '', 'handler' => 'views_handler_field_date_custom', 'options' => 'd M Y', ), ); $view->filter = array ( array ( 'tablename' => 'node', 'field' => 'type', 'operator' => 'OR', 'options' => '', 'value' => array ( 0 => 'weblinks', ), ), array ( 'tablename' => 'node', 'field' => 'status', 'operator' => '=', 'options' => '', 'value' => '1', ), array ( 'tablename' => 'term_node_6', 'field' => 'tid', 'operator' => 'AND', 'options' => '', 'value' => array ( ), ), array ( 'tablename' => 'term_node_8', 'field' => 'tid', 'operator' => 'AND', 'options' => '', 'value' => array ( ), ), ); $view->exposed_filter = array ( array ( 'tablename' => 'term_node_6', 'field' => 'tid', 'label' => '', 'optional' => '0', 'is_default' => '0', 'operator' => '0', 'single' => '0', ), ); $view->requires = array(node, term_node_6, term_node_8); $views[$view->name] = $view;
Comments
token
this thread might help
http://drupal.org/node/218962