Closed (fixed)
Project:
Gallerix
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
11 Aug 2010 at 07:25 UTC
Updated:
15 Sep 2011 at 01:01 UTC
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
Comment #1
vip_sa commentedI 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 ()
Comment #2
AlexisWilke commentedvip_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
Comment #3
AlexisWilke commentedMarking as fixed since we got no feedback and it should be fixed.
Thank you.
Alexis Wilke