I've customized node_gallery quite a bit to fit into the workflow of the site I am working on. Somewhere along the way I've screwed something up and now the "title" field is not shown upon uploading images. See screenshot below. The caption field still shows up.

http://img36.imageshack.us/img36/3293/screenshot20091106at115.png

Any ideas what would cause the title field to be hidden? It's causing problems when I try to edit an existing image (the title field never gets saved, so you have to put one in or the edit will error out) I spent some time poking around in theme.inc but I'm stumped on this one.

PS node_gallery rocks! It just needs a javascript image cropper to be perfect.

Comments

dbeall’s picture

try putting the default theme.inc file back in and see what it does

resynthesize’s picture

dbeall,

Thanks for the suggestion. I just tried that, the title field is still missing.

I believe that this line in theme.inc renders the image edit form:

127: $row[] = drupal_render($form['files'][$key]['edit_form']);

Where/how does that variable get populated? I don't think it is pulled from the content type because if I try to manually create an image node with node/add/node-gallery-image I do see the title field.

Thanks again for your help.

resynthesize’s picture

OK, I figured it out. I just had to go into the node_gallery preferences and recheck the 'title' field on the 'Node Gallery Config Edit' screen.

I think the workflow to edit the gallery is a bit confusing because you have to press 'Next' at the bottom of the page to get to the next screen of options. I think it'd be more intuitive if there were tabs at the top like most other modules for the config. The tabs could say 'Gallery Type' and 'Gallery Settings' or something like that.

resynthesize’s picture

Status: Active » Closed (fixed)