how to set nid argument in views so it works as "not equal to"?
Hi, What I want here is a list of latest nodes which are in same type as current node (assuming in node/123 page). I create a node view and set some filters, fields, etc... then i go to the argument section. I choose "Provide default argument" and set to "Node ID from URL". Then I do not know how to continue so that views can load nodes which nid does not equal to the argument.... thanks :)
check checkbox "Exclude the argument" but better to ask this question in the support mailinglist in the future because this is not about code. Hans www.koba.be 2009/11/3 Zhang Xiao <xellzhang@gmail.com>
Hi,
What I want here is a list of latest nodes which are in same type as current node (assuming in node/123 page).
I create a node view and set some filters, fields, etc... then i go to the argument section.
I choose "Provide default argument" and set to "Node ID from URL".
Then I do not know how to continue so that views can load nodes which nid does not equal to the argument....
thanks :)
-- Hans Rossel KOBA Webdesign bvba Beukenlaan 56 9051 Gent (Sint-Denijs-Westrem) Belgium BTW 0817.931.516 +32.9.334.52.60 +32.472.79.32.16 www.koba.be info@koba.be
oh, thank you Hans. I will notice next time :) On Nov 3, 2009, at 4:38 PM, KOBA | Hans Rossel wrote:
check checkbox "Exclude the argument"
but better to ask this question in the support mailinglist in the future because this is not about code.
Hans www.koba.be
2009/11/3 Zhang Xiao <xellzhang@gmail.com> Hi,
What I want here is a list of latest nodes which are in same type as current node (assuming in node/123 page).
I create a node view and set some filters, fields, etc... then i go to the argument section.
I choose "Provide default argument" and set to "Node ID from URL".
Then I do not know how to continue so that views can load nodes which nid does not equal to the argument....
thanks :)
-- Hans Rossel KOBA Webdesign bvba Beukenlaan 56 9051 Gent (Sint-Denijs-Westrem) Belgium BTW 0817.931.516 +32.9.334.52.60 +32.472.79.32.16 www.koba.be info@koba.be
check checkbox "Exclude the argument" but better to ask this question in the support mailinglist in the future because this is not about code. Hans www.koba.be 2009/11/3 Zhang Xiao <xellzhang@gmail.com>
Hi,
What I want here is a list of latest nodes which are in same type as current node (assuming in node/123 page).
I create a node view and set some filters, fields, etc... then i go to the argument section.
I choose "Provide default argument" and set to "Node ID from URL".
Then I do not know how to continue so that views can load nodes which nid does not equal to the argument....
thanks :)
-- Hans Rossel KOBA Webdesign bvba Beukenlaan 56 9051 Gent (Sint-Denijs-Westrem) Belgium BTW 0817.931.516 +32.9.334.52.60 +32.472.79.32.16 www.koba.be info@koba.be
participants (3)
-
KOBA | Hans Rossel -
KOBA | Hans Rossel -
Zhang Xiao