Results 1 to 4 of 4

Thread: Inserting Google maps

  1. #1
    New user
    Join Date
    11-20-09.
    Posts
    9

    Default Inserting Google maps

    I just tried completing the textual address on my test site with code obtained from Google maps (to show the map image), but when I save my article (HTML element, of course)... half of the Google's HTML code disappears!
    Looks like the HTML given is interpreted before being saved (so the "&amp;" turns into "[&]"), and that the "<iframe>...</iframe>" stuff is discarded (hope I described it well enough...)
    Any suggestion?

    ~ Lou

  2. #2
    User
    Join Date
    10-05-09.
    Location
    Dallas, TX, US
    Posts
    70

    Default Re: Inserting Google maps

    You may have to insert it as an HTML content element instead of a text element. I'm not sure how TL might parse a URL string like that.

    Also, take a look under Settings > Security Settings > Allowed HTML Tags. Make sure that iframe is included in the list. I've had to make several adjustments to this section, otherwise TL will automatically remove the tags from your content elements after you save them. I was trying to include a <script> tag before realizing I hadn't given TL permission to use it!

  3. #3
    New user
    Join Date
    11-20-09.
    Posts
    9

    Default Re: Inserting Google maps

    Quote Originally Posted by markhurd
    Also, take a look under Settings > Security Settings > Allowed HTML Tags. Make sure that iframe is included in the list.
    Thanks Mark!
    That was the problem, not having <iframe> allowed in HTML code.

    ~ Lou

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Inserting Google maps

    You may also want to look into these gmap extensions: http://www.typolight.org/extension-list ... ps&x=0&y=0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •