If you enable the Profile Photo field on settings, the only thing added is the label of the field, but no field to be chosen, even if you change settings on CCK for this field it still does not show, also if you add other fields on the Image content type it does not show, that would be great for customizations.

Thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gilcpd’s picture

Nobody had the same issue?!

sadist’s picture

how did you managed to get to the Profile Photo field settings in the first place? i'd tried 6.x-2.0-alpha10 and even the dev version, but didn't see anything for that feature at all.

dbeall’s picture

Title: Profile Photo field no able to be chosen » Ability to add fields to the Image Content Type or Node
Assigned: gilcpd » Unassigned
Category: bug » feature
Priority: Critical » Normal

This is not critical, nor is it a bug. I believe it is feature request more than anything.
@gilcpd, If you assign yourself to an issue, this means you will be the fixing it and supplying the patches to make it work.

From what I have learned about node gallery:
I am also wondering how the profile photo field was added.
The image node should not really hold extra fields as it is controlled by the gallery node.
As far as I know extra fields can be added to the Gallery Content Type.
If I am wrong on this, please speak up

gilcpd’s picture

FileSize
198.17 KB

On the second step to create Gallery relationships you have the ability to choose what fields you would like to be shown.
@dbeall my bad on assigning myself to the issue, but from what I see (unless I'm mistaken about this functionality) this is not a feature request.

When selecting any of the options of "Fields" the only ones that really comes as editable are title and caption, Profile Photo appear but only the label of the field not the radio button to choose, if you go to Edit Content Type and choose the content assigned as photo on the node gallery relationship you will see that the profile photo field has been added to the content type.

dbeall’s picture

sorry about that,
I had noticed some extra fields were showing in the configure function. I didn't know the profile field showed because I didn't have it enabled in my test site. I never even tested the extra fields that did show because I thought they didn't have any use on the image node...

I suppose this could be useful.. I guess I didn't really think about using additional fields on the image node just because the way it's used by the gallery node.
My guess is that the additional fields should be hidden in the UI so the title and caption are the only ones that are available.
There was some discussion about a taxonomy for the image node...
#426518: Create a node_gallery_taxonomy submodule
Maybe Kmonty can make all those fields work.. not sure.

sadist’s picture

Hi guys, sorry if I'm being too dumb.

But there's nothing new I see at both setting pages, Content-type and Node Gallery configurations. Did you added that field at node_gallery_image content-type manually?

dbeall’s picture

@sadist, you can't be too dumb! -Hey that's MY ROLE HERE, and it's my excuse too.

1. before you can add or see fields:
install CCK(content construction kit),the enable 'content' on modules page in the CCK section.
CCK has lost of other stuff to make fields in content types, option wigets, number, text..(those are included) and lots of others can be found on Drupal.org

2. Then you can add fields to content types at: administer > Content management > content types > (page, story, ect) > Manage fields.. you will see 'add' on that page.

Just by enabling 'content' in CCK, you will see the fields in administer > Site configuration > node gallery > List..
edit a relationship > second configure screen...
Title (default)
Caption(default)
Revision information(default)
Comment settings(default)

and others (if they have been added to the content type as in "2.")
Path settings(if installed)
Book
on and on... the list can be very long..

I hope i said all that right...

dbeall’s picture

FileSize
10.66 KB
11.86 KB

just to show you that some fields do work..
I added a new text field(testext) to the image content type, and it works fine.

the image node is poor quality because i shrank it...

sadist’s picture

hi dbeall. thanks for the reply.

I'm actually quite familiar with CCK module. But I was wondering, is the particular 'Profile Photo' field manually added or it comes with Node Gallery module? Because I don't see that at anywhere at all, and if I add it manually, it's impossible for me or any users to make it as an option within Image nodes.

So I guess, this must be from Node Gallery itself, it's just that I can't find a way to enable it? Which particular version are you guys using?

dbeall’s picture

it maybe a custom field. I don't think it's a node gallery field, I haven't seen it. I am using latest dev, alpha10 and dev with patches that are in review. And July dev on 3 sites till next release, then will upgrade all the sites.
maybe gilcpd will fill us in how he got the field so I can try it too. And thinking, author pane might be good as a block on a image node page as a work around.

dddave’s picture

Version: 6.x-2.0-alpha10 » 6.x-2.x-dev
Status: Active » Fixed

Adding field via cck works now very well.

Status: Fixed » Closed (fixed)
Issue tags: -node gallery, -custom fields, -profile photo

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