视图节点关系参数
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了视图节点关系参数相关的知识,希望对你有一定的参考价值。
Use this to pull a list of items based on the nid of the 'parent' node.... so you can show fields added to that node, on the child. Handy.Make nid argument..... use custom php arg code below to feed the argument the nid of the parent.
Remember to change the $ to the field name you are targeting..... IMPORTANT
$node = node_load(arg(1)); return $node->field_proj_parent_ref[0][nid]; } else { return FALSE; }
以上是关于视图节点关系参数的主要内容,如果未能解决你的问题,请参考以下文章