Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2009 at 10:58 UTC
Updated:
18 Mar 2010 at 00:37 UTC
This is supposed to exclude the current node from a view.
Argument - Node: Nid
Provide default argument (Checked)
Default argument type: Node ID from URL
Exclude the argument (Checked)
BUT, it only appears to exclude nodes that are also menu items.
My 'News' items are not attributed to any menu, thus i get double ups in my view.
any ideas?
thanks!
Comments
Comment #1
merlinofchaos commentedThere is nothing in the Node ID from URL code that would tie the node retrieved to a menu item. It's possible this might happen if you are viewing the node via a non-standard path, (not counting aliases) I suppose.
Comment #2
milos1234 commentedhi there, yes i also have pathauto aliases setup. (and node heirarchy for that matter).
if thats causing the problem, is there another way to exclude the current node?
many thanks
Comment #3
dawehnerCould you try to export your view? http://drupal.org/node/571990
You could everytime try to use theming of hook_views_pre_view, and alter the $view->result array.
Comment #4
esmerel commentedsuggestion given, request for more info. No response.