开发者

Drupal: can I assign different order to header (for Views) / body fields in my nodes?

I selecting which fields to show in the Headers and in the Body of my nodes, in the "Manage Fields" settings of my content type.

However I would like to have different order for header ele开发者_如何学JAVAments and node elements.

Is this feasable ?

thanks


There a number of ways you can achieve this. One of them is through the panels module - http://drupal.org/project/panels - another is through the node template file. If you are able to edit your Drupal theme, you could create a new template file for the type of node you wish to customise - called node-[type].tpl.php in your theme directory. You can base this template file on node.tpl.php, and instead of echoing out the body of the node, you choose which fields from the node object you wish to use. See http://drupal.org/theme-guide for more.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜