Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Seems that video cck doesn't work in my tpl.php file as all my other CCK form fields.
This is the code I'm using
<?php print drupal_render($form['field_video_url_or_embed_code']); ?>
Am I missing something?
Comments
Comment #1
aaron CreditAttribution: aaron commentedwithout seeing how you're using it, i would think that should work. could you do two things:
1) post the result of print_r($form)
2) post the rest of the code in the tpl file?
thanks,
aaron
Comment #2
davidburnshere's what is in the tpl file
Here's what was printed to the screen with print_r ($form)
Comment #3
davidburnsI figured it out,
[video_cck_fieldset] worked.
Comment #4
davidburns