Hello, it seems that the weight given to the video field in Content management / Content types is not taken into account in the submit form: the field is displayed at the same place, whatever value is given to its weight.

Comments

BobLouis’s picture

Hello, Anyone got a clue on this issue?
Thank you Drupalers :)

aaron’s picture

Project: Video CCK » Embedded Media Field

make sure you're using the Embedded Media Field first, as the original video cck module has been deprecated. (i'm moving this to that module's queue).

if you're still having the problem, follow-up here. meanwhile, i'll play around with that next week to see if i can replicate it.

thanks,
aaron

BobLouis’s picture

Thank you aaron, I installed the Embedded Media Field module, and it works fine now !

BobLouis’s picture

but... now I cannot retrieve the field to insert into my contemplate to display the embedded video (it was node->field_video[0]['view'] before).
Here is what is available now, but none of these fields displays the video:

$node->field_video[0]['embed']
$node->field_video[0]['value']
$node->field_video[0]['provider']
$node->content['group_description']['field_video_externe']['#access']
$node->content['group_description']['field_video_externe']['#value']
$node->content['group_description']['field_video_externe']['#weight']
$node->content['group_description']['field_video_externe']['#printed']

Did I miss something?

aaron’s picture

Title: weight not taken into account » Contemplate Doesn't Show $field[0]['view']
Assigned: Unassigned » aaron
Status: Active » Postponed (maintainer needs more info)

That's really odd. Shows up fine for me.

Could you paste what you see in the Teaser Variables textarea?

Thanks,
Aaron

BobLouis’s picture

Aaron, sorry I didn't inform you to close this issue, but I found the fields now (it was a cache problem on my machine).
Anyway, thank you very much for replying :)

aaron’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Closed (fixed)