When you edit a content type and you remove the label for the body then the body does not show in the create node form. I did just that but it still shows and I changed the label to something else but the label is still the same.

Comments

vip_sa’s picture

I also get the following errors:

warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index 127 out of range in /home/gigguide/public_html/hosted/includes/image.gd.inc on line 108.

after uploading images
and this error although the file is there:

* The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* Error uploading file ()

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke
Status: Active » Postponed (maintainer needs more info)

vip_sa,

I checked in a fix for the Body not disappearing. The form was supposed to use the node_content_form() function. It does now.

In regard to being displayed, that is how it is in Core. So if you allowed people to enter a description, it is still there and will show. We already properly call the node_prepare() function which includes the body whether or not $has_body is TRUE. However, if you delete all the descriptions then come back and remove the Body name... At that point, no more descriptions.

The errors when uploading probably occurs because the imagecolorsforindex() fails.

You loaded a GIF image and it has invalid data as per PHP image GD. You may want to try converting the image to a PNG with the Gimp or some other similar tool.

Thank you.
Alexis Wilke

AlexisWilke’s picture

Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed since we got no feedback and it should be fixed.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.