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.
By ErikU on
What I need to do is bring a field from a parent node to a child node (I know that a node only has a parent through the menu). Something like the following...
<?php
$myactive_trail = menu_get_active_trail();
$parent = $myactive_trail['2']['link_path'];
print $parent->field_video[0]['filepath'];
?>