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

Dave Reid’s picture

Project: Drupal core » Content Templates (Contemplate)
Version: 6.6 » 6.x-1.x-dev
Component: node system » Code

Moving to Contemplate issue queue...feel free to move to Google Maps module if appropriate.

Dave Reid’s picture

Also please note, using check_plain will "sanitize" HTML characters so they won't actually be HTML anymore.

IrishGringo’s picture

does anyone know how to display an iframe in contemplate?