I created a listview. Added some fields. One of the fields had a replacement tag. The output did not parse the tag.
The full node works perfect.

By the way. Replacement Tags is a LIFE SAVER. Together with views cck and panels the most important modules

Comments

profix898’s picture

What version of Views are you running? I submitted a patch for this problem a few weeks ago (http://drupal.org/node/149276) and it was committed. But I dont know whether it is only in the -dev version or part of the official release already!

buffos’s picture

i am using the latest release 1.6

buffos’s picture

The node you linked above has a patch. The patch is already in the code but it does not work

profix898’s picture

I have just tried using Views 5.x-1.6 and its working for me. Can you please provide some more details about your view (or even export and send me the view)? Is it working if you temporarily switch to a different 'View Type' (e.g. 'Teaser list' or 'Table View')?

buffos’s picture

Full Node and Teaser works. List and Table not.

$view = new stdClass();
$view->name = 'block_chesspositionlist';
$view->description = '';
$view->access = array (
0 => '4',
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = '';
$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 = 'list';
$view->url = 'chessproblems';
$view->use_pager = TRUE;
$view->nodes_per_page = '6';
$view->sort = array (
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'node_data_field_fen',
'field' => 'field_fen_value',
'label' => '',
'handler' => 'content_views_field_handler_ungroup',
'options' => 'plain',
),
);
$view->filter = array (
array (
'tablename' => 'node',
'field' => 'type',
'operator' => 'OR',
'options' => '',
'value' => array (
0 => 'chessposition',
),
),
);
$view->exposed_filter = array (
);
$view->requires = array(node_data_field_fen, node);
$views[$view->name] = $view;

profix898’s picture

There are good news and there are bad news ... I was able to track down the problem, but I'm not sure how it can be solved. The major problem is that Views does not invoke hook_nodeapi('view' ...) when individual fields are selected. I will contact the Views developers to discuss the issue ...

profix898’s picture

I have created an issue against 'Views' (http://drupal.org/node/178153). However solving the issue requires an architectural change, because the theme function that displays the fields is generic and doesnt handle node content differently. The only workaround atm is to override that theme function (namely theme_views_handle_field()) or (better) the theme functions, that generate the list/table view (theme_views_view_list() and theme_views_view_table()).

duaelfr’s picture

Component: Code » Code / API
Status: Active » Closed (won't fix)

This version of Rep[lacement]Tags is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.