我有一个我想打印的链接列表,类似于Drupal:Associating grouping more than one CCK field but the multigroup module is no longer active (as as like a month after that post) 我一直在打印它们,如下所示:
<?php if($node->field_committee_link[0][value]): ?><h4>1) <a href="<?php print $node->field_committee_link[0][value] ?>"><?php print $node->field_committee_link[0][value] ?></a></h4><?php endif; ?>
<?php if($node->field_link_descriptor[0][value]): ?><?php print ' '. $node->field_link_descriptor[0][value] ?><?php endif; ?>
并改变数字
他们是一种循环方式,例如
对于 $node->field_committee_link[0][value] 到 $node->field_committee_link[x][value] 打印 $node->field_committee_link[x][value] x= i++ next
还是我需要对此进行预处理?
非常感谢帮助