Defaults:Add arguments enode revision 回Taonomy:-Tem Taxonomy:Term ID (with depth) is me Taxonomy:Vocabulary ID e taxo my vocabulary ID Add Cancel 接下来在出现的Arguments详细设置界而中,在Action to take if argument is not present中,选中Provide default argument",然后在Default argument type中选中"PHP code”,并填入如下代码 Snode =node_load(arg(1)); f(Snode 6 Snode->taxonomy)( foreach (Snode->taxonomy as $term){ Sterms[]=Sterm->tid; return implode('+,Sterms) else return: 如下图所示 1212 接下来在出现的 Arguments 详细设置界面中,在 Action to take if argument is not present 中,选中“Provide default argument”,然后在 Default argument type 中选中“PHP code”,并填入如下代码: $node = node_load(arg(1)); if ($node && $node->taxonomy){ foreach($node->taxonomy as $term) { $terms[]=$term->tid; } return implode('+',$terms); } else { return; } 如下图所示: