Closed (won't fix)
Project:
Rep[lacement]Tags
Version:
5.x-1.9
Component:
Code / API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2007 at 14:46 UTC
Updated:
3 Feb 2013 at 18:27 UTC
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
Comment #1
profix898 commentedWhat 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!
Comment #2
buffos commentedi am using the latest release 1.6
Comment #3
buffos commentedThe node you linked above has a patch. The patch is already in the code but it does not work
Comment #4
profix898 commentedI 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')?
Comment #5
buffos commentedFull 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;
Comment #6
profix898 commentedThere 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 ...Comment #7
profix898 commentedI 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()).
Comment #8
duaelfrThis 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.