Active
Project:
Top Node
Version:
6.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2010 at 16:51 UTC
Updated:
7 Jan 2011 at 14:36 UTC
Jump to comment: Most recent file
The "Single node" style is not an available option in the Views UI which prevents creating a working Top Node view. I'm not sure if this was by design or not, but the issue is in the style plugin definition in top_node.views.inc. The 'no ui' option is set to true causing the style not to show up in the interface.
'style' => array(
'full_node' => array(
'no ui' => TRUE,
'title' => t('Single node'),
'help' => t('Display a single node in page view mode.'),
'handler' => 'top_node_plugin_style_full_node',
'uses row plugin' => FALSE,
'uses grouping' => FALSE,
'uses options' => FALSE,
'type' => 'normal',
'help topic' => 'style-unformatted',
),
),
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | top_node-912546.patch | 659 bytes | jsenich |
Comments
Comment #1
jsenich commentedHere's a patch.
Comment #2
eaton commentedYou need to use the 'Single Node' Display, not the Style. Using a normal page view won't work, as displaying a proper node page requires full control over the wrapping HTML, tabs, and so on.
Comment #3
jsenich commentedThe Display (actually called 'Node page') doesn't work without manually selecting the "Single node" style. It does not automatically use this style as the documentation suggests. I'm using Views-6.x-2.11.