Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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?