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
精彩评论