我正在尝试打印第三方公共关系中的节点类型,但没有看太多,我使用的代码是:类型!=‘佣金’):?>
有什么想法吗?
干杯
发布于 2012-06-05 17:24:16
Try this $node= node_load($nid); // $nid = your node ID $type=$node->type; then check ($type!='commissions')
发布于 2012-06-04 20:25:47
在第三方file.Perhaps中有一个完整的节点对象,您可以:
$node->type;https://stackoverflow.com/questions/10881158
复制相似问题