开发者

Drupal 6.20, fields missing when viewing a node appear when editing

开发者 https://www.devze.com 2023-03-05 00:35 出处:网络
I have a node that contains 6 fields. When the user views the node, the only fields that appear are those for which the user has already entered data. When the user edits the node, all the fields are

I have a node that contains 6 fields. When the user views the node, the only fields that appear are those for which the user has already entered data. When the user edits the node, all the fields are visible. I have inspected the HTML to confirm that the missing fields are not being hidden by CSS. How do I make 开发者_如何学JAVAall the fields visible when the user views the node?


If the field is empty, then drupal won't display it.


You can create a views with Views Module http://drupal.org/project/views and display all fields with a default value.

Contemplate is also a good solution to create easily template for your node : http://drupal.org/project/contemplate

0

精彩评论

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