开发者

drupal : how to show two nodes in one page

how to show two nodes in o开发者_开发知识库ne page ?

thank you


There's several ways:

  • Views - set filters or arguments to show 2 nodes;
  • Block - show other node in blocks via special modules (like node as block) or programmatically call node_view;
  • Custom node theming - programmatically call node_view to show other node;
  • CCK + nodereference field - show other node via spec.module;
  • Taxonomy - set for these node concrete term and see via taxonomy/term/CONCRETE_TID;
  • and more and more... Recommend to use views.


Try using Panels if you want to have multiple nodes/sections per page

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜