Closed (fixed)
Project:
Video
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2007 at 13:05 UTC
Updated:
13 May 2010 at 16:34 UTC
Jump to comment: Most recent file
When you configure a view on the video content type and choose for the "View Type" "Full Nodes" the nodes aren't displayed in the same way that they are when you view only the single node.
I've got my settings to display the movie in the node but it doesn't do this in the view.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | video.fullnodes.patch | 505 bytes | mariano.barcia |
Comments
Comment #1
jax commentedIt seems that
gets teaser = false and page = false in a full node view. And because there is a if($page) it doesn't show the full node. Most other modules do if($teaser) so this works correctly in the case of a full node view. I'm opening an issue against views to find out if this is the way it should work.
Comment #2
jax commentedIf you read the hook_view documentation at http://api.drupal.org/api/function/hook_view/5 it says that you should user $teaser to determine if you should display the teaser or the whole node. The $page argument serves other purposes.
In video.module the is an if($page) to determine if the full node should be rendered or not, that is not currect IMO. But only changing that isn't possible either because there are drupal_set_titles() further on which messes up the view title. I'll try to suggest a patch.
Comment #3
mariano.barcia commentedPatch attached
Comment #4
azoho commentedIs there a solution to this for Drupal 6 video module?
Comment #5
iLLin commented