I'm not able to display emfield type(image, video) in any of the ND layout regions. I did install ND contribution modules and added nd_preprocess_node function in template.php as per this issue:

http://drupal.org/node/572614

However, I can display the same fields using VD 'Row style: Display Suite field'. I am not sure why the fields are not showing up in ND?

Thanks,
gp

CommentFileSizeAuthor
#7 Picture 1.png387.22 KBswentel
#6 Picture 2.png194.61 KBswentel
#3 nd_emfield.png20.54 KBg.k

Comments

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

Do you see the field appearing in the layout screen ? because I created a embedded field in a custom content type and saw it afterwards on my screen ...

g.k’s picture

Yes, the fields are showing up in the layout screen but they don't show in actual Node Display. I have attached the screenshot for the settings, two of the emfield fields (Photos & Videos) in red boxes doesn't appear no matter which region they are placed.

Since they are showing up in view, I was able to have a workaround by attaching views(Photo & Video Gallery) as "Node Content" and filter it using Node Argument but it's a wrong approach in long run and will cause some performance issue.

Thanks,
gp

g.k’s picture

StatusFileSize
new20.54 KB

Duh.. I forgot to attach the screenshot!

swentel’s picture

Ok, I'll test it out, haven't actually been able to add an url in my fields, do you have a quick example (like an url or so) with embedded media I could use, I'm not that experienced with embed field :)

g.k’s picture

I would create an Embedded Video Field with youtube as content provider and use any of the Youtube URL (not the embedded code) as the field value for e.g.

http://www.youtube.com/watch?v=V7g4e5m5aRc

swentel’s picture

StatusFileSize
new194.61 KB

Strange, did that, moved the field to the a region (sometimes it overlaps the rest of the content, that's of course because of the default region css) and the video is displayed on my screen - see attach. Maybe a theming bug (tested on Garland) ?

swentel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
StatusFileSize
new387.22 KB

Did another test - working - now also with fieldgroups on (see attach) - I have honestly no idea what could be wrong - will be something with theming or so .. closing for now as I'm pretty sure it's not DS' fault.

g.k’s picture

Status: Closed (fixed) » Needs review

I had been playing around with various settings and themes (Garland, Fervens, Fusion etc.) but nothing seems to working. I just found out that its only an issue with CCK fields in "Full Node" build. I might have added the CCK fields to a region before disabling and re-enabling doesn't render in "Full node" build. Do you think it may be related to the issue #751414?

I tried uninstalling ND CCK module but as per the above issue, it doesn't reset all the setting. This is what "display_settings" value is for the videos field:

a:11:{s:5:"label";a:1:{s:6:"format";s:6:"hidden";}s:6:"format";s:7:"default";s:9:"css-class";s:0:"";s:6:"region";s:8:"disabled";s:9:"ds_weight";s:3:"-45";s:4:"full";a:10:{s:5:"label";a:1:{s:6:"format";s:6:"hidden";}s:6:"format";s:11:"video_video";s:9:"css-class";s:0:"";s:6:"region";s:6:"middle";s:4:"type";s:7:"emvideo";s:9:"parent_id";s:0:"";s:8:"field_id";s:12:"field_videos";s:11:"label_value";s:0:"";s:7:"exclude";i:0;s:6:"weight";s:3:"-45";}s:6:"teaser";a:10:{s:5:"label";a:1:{s:6:"format";s:6:"hidden";}s:6:"format";s:27:"AttachmentThumbnail_default";s:9:"css-class";s:0:"";s:6:"region";s:8:"disabled";s:4:"type";s:7:"emvideo";s:9:"parent_id";s:0:"";s:8:"field_id";s:12:"field_videos";s:11:"label_value";s:0:"";s:7:"exclude";i:0;s:6:"weight";s:2:"-5";}s:6:"bubble";a:10:{s:5:"label";a:1:{s:6:"format";s:6:"hidden";}s:6:"format";s:27:"AttachmentThumbnail_default";s:9:"css-class";s:0:"";s:6:"region";s:8:"disabled";s:4:"type";s:7:"emvideo";s:9:"parent_id";s:0:"";s:8:"field_id";s:12:"field_videos";s:11:"label_value";s:0:"";s:7:"exclude";i:0;s:6:"weight";s:1:"3";}s:6:"weight";s:1:"3";s:6:"parent";s:12:"group_videos";s:9:"nd_weight";s:2:"-9";}

Thanks,

swentel’s picture

And what if you delete all those values and re-submit the full node layout, does it work then ? (althoug a fresh submit should work out fine too ...

g.k’s picture

I created a new CCK field and tried by deleting values but it didn't works for "Full node". I am able to see other modules fields for e.g. Location, gmap, taxonomy etc. I am using Garland theme to test and also tried copying nd.tpl.php to node.tpl.php.

Thanks,

swentel’s picture

Weird, I have absolutely no idea what could be wrong then. Any possibility that you could put that (test) site online where I can login and browse around myself, because I can't reproduce at this moment - or even a dump with mysql and all the files so I can debug it on my local machine, would be even better.

swentel’s picture

Title: Support for Embedded Media Field » Conflicts with CCK Fieldgroup tabs

Ok, I found it after some testing. The conflict is with cck fieldgroup tabs. I'm doing some tests on my local machine now, but not sure how I'm getting around this at this moment ...

swentel’s picture

Status: Needs review » Closed (works as designed)

Ok, don't get it working at all, simply because fieldgroup tabs is to fast, sorry about that. I've contacted the maintainer of nodeformcols to become a co-maintainer and get that module working with tabs only - it's a nicer solution anyway imho compared to cck fieldgroup tabs for the node edit form :)

g.k’s picture

Now I know the problem, I can live with nodeformcols and "Collapsible" fieldgroup until ND tabs & CCK fieldgroup tabs issue is resolved. Thanks for your time & effort on working with this issue...

ace87’s picture

maybe i solved the problem, without the need to uninstall fieldgroups tabs:

My problem: DS doesn't display some CCK fields that I put in a group (under manage fields)
I suppose that the fields not displayed are those that are part of a group that is displayed as a tab (using fieldgroups tabs)

Solution (worked for me):

1. DS doesn't display cck fields that are part of a group
2. Content type --> Manage fields --> Delete that group
3. Now DS displays the fields that used to be in the group that we deleted before
4. Change DS options for the full node as you wish (now all the fields are displayed)
5. Return in Content type --> Manage fields --> Re-create the group that we deleted before
6. Put the desired cck fields in this "new" group.
7. Now you have your group AND DS displays the fields that are in this group!

zkrebs’s picture

#15 fixed my problem, thanks.

rjmackay’s picture

I'm having the similar issue with just CCK Field groups: http://drupal.org/node/1097268