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.
I apologize if the issues queue is not the right place to post this but I couldnt find this anywhere and it took me some time to figure it out so I thought that others may find this useful. I was struggling with how to output this field as an active external link in my custom .tpl.php template. Here is how I ended up with the correct output:
print $node->field_my_fieldname[0] " target="_blank"> print $node->field_myfiledname[0]['view']
Hope that helps someone else.
Comments
Comment #1
DamienMcKennaThank you all for your efforts, but I'm sorry to say that the D6 version is no longer supported.