Posted by paragonn on November 8, 2012 at 3:58pm
I have a very weird problem. All custom fields are not rendering on all content types. I create a Basic page which has the default title and body fields and the content renders fine. If I add a custom field to the Basic page content type, the custom field does not render in view mode. I can edit the content type and the custom fields work fine, but as soon as I view it, all of the custom fields do not render. When I do a var dump on $variables in template.php I can see all of the custom fields and values in page['content']. I thought it might be a permissions problem, but it is happening for all users. Does anybody have any ideas to fix this problem?
Comments
Did you check the "Manage
Did you check the "Manage display" tab for the content type to make sure the field is enabled to be displayed?
Thanks for your reply, yes I
Thanks for your reply, yes I did check Manage Display and they are all set to default and positioned to be displayed. There are also no custom displays beyond Teaser.
How about a link to a page
How about a link to a page that demonstrates the issue?
Maybe it's a cache issue...
Maybe it's a cache issue.. did you try clearing cache on your Drupal site?
Ryan Gambito
http://ryangambito.com/