开发者

drupal : how to show two nodes in one page

开发者 https://www.devze.com 2023-02-12 05:04 出处:网络
how to show two nodes in o开发者_开发知识库ne page ? thank you There\'s several ways: Views - set filters or arguments to show 2 nodes;

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

精彩评论

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