scotisle Posted May 15, 2014 Share Posted May 15, 2014 Newbie question, sorry. I have a Drupal custom content type - "EXIF Image" that is posting metadata. It works, but I'd like to speed up the posting process by autopopulating the node title with metadata as well. I've enabled auto_nodetitle, but I'm stuck on the correct syntax for the PHP. I'm not a PHP progrmmer, and I don't even play one on TV. Could someone direct me to the correct syntax? I have a field__iptc_headline that I'm trying to reference. Not sure where the extra underscore came from, but it's working with EXIF module. <?phpprint render($content['field__iptc_headline']);?> Thanks so much! I cross-posted at Drupal and haven't gotten any replies. Link to comment https://forums.phpfreaks.com/topic/288525-drupal-php-code/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.