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 am trying to embed a google map in a full node display
I setup a text field that takes the
and the code in contempalte is:
print check_plain($node->content['field_gmap']['field']['items'][0]['#item']['value'])
all I am getting is the above iframe text... its not converting to a map.
is there a way that I can make it work as a map?
thanks
Comments
Comment #1
Dave ReidMoving to Contemplate issue queue...feel free to move to Google Maps module if appropriate.
Comment #2
Dave ReidAlso please note, using check_plain will "sanitize" HTML characters so they won't actually be HTML anymore.
Comment #3
IrishGringo CreditAttribution: IrishGringo commenteddoes anyone know how to display an iframe in contemplate?