This link has been bookmarked by 11 people . It was first bookmarked on 19 Jun 2008, by Glenn M.
-
-
Solved.
To exclude the current node from the view:
1) Add another argument = Node:Nid
2) Select "Action to take if argument is not present" = "Provide default argument"
3) Select "Default argument type" = "Node ID from URL"
4) Select "Exclude the argument"Done
-
$node = node_load(arg(1));
if ($node) {
$terms = taxonomy_node_get_terms_by_vocabulary($node, 6);
foreach ($terms as $tid => $term) {
$tids[] = $tid;
}
return implode ("+", $tids);
}
return false;
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.