Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • aardcom Friend
    #141627

    Has anyone had success with embedding a google map into a content page (article).

    I have tried but I only get the code and link to larger map to show but no map appears. If someone has it working let me know the location and method used.

    Thanks

    ps5t0ck5 Friend
    #306585

    Hi aardcom

    To embed the map you need to turn off your editor in Site config so that you have no editor. Then select the article that you want the map to show in and paste the code that you have got from Google maps, then save. You should then be able to see the map on the site.

    Only thing to remember is that if you need to edit this article again you must always turn off the editor to keep the map code. In which case best to embed the code last!

    Hope this helps

    🙂

    aardcom Friend
    #306894

    Yes I did turn of the editor but it still shows as code only. You can see it at
    http://www.potrerobeach.com/index.php/general-info/map

    The code is above the other map image. I tried putting it in a iframe but also with no luck. I’m ok with the exisitng map but I would like to know what I’m doing wrong. I had it working on a previous site and used the same code then tried creating a new map and still no luck.

    ps5t0ck5 Friend
    #306899

    Hi again aardcom

    I had a look at your code and it contain characters that I don’t recognise like { instead of <, try this;

    <iframe width=”640″ height=”480″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.ca/maps/ms?source=s_q&hl=en&ie=UTF8&cd=3&geocode=FQBHhgAd62EF-w&split=0&msa=0&msid=111473359472662825111.0004693de45b53c3bae51&ll=10.495239,-85.799789&spn=0.324075,0.439453&z=11&output=embed”></iframe><br /><small>View <a href=”http://maps.google.ca/maps/ms?source=embed&hl=en&ie=UTF8&cd=3&geocode=FQBHhgAd62EF-w&split=0&msa=0&msid=111473359472662825111.0004693de45b53c3bae51&ll=10.495239,-85.799789&spn=0.324075,0.439453&z=11″ style=”color:#0000FF;text-align:left”>Potrero, Guanacaste, Costa Rica</a> in a larger map</small>

    Let me know if it works ok

    aardcom Friend
    #306911

    I have the editors turned off and whenever I place the code in it saves as the following
    <br /><small>View <a href=”http://maps.google.ca/maps/ms?source=embed&hl=en&ie=UTF8&cd=3&geocode=FQBHhgAd62EF-w&split=0&msa=0&msid=111473359472662825111.0004693de45b53c3bae51&ll=10.495239,-85.799789&spn=0.324075,0.439453&z=11″ style=”color:#0000FF;text-align:left”>Potrero, Guanacaste, Costa Rica</a> in a larger map</small>

    I’m stumped…. I’ve checked both the config settings and the user settings to make sure the editor is off.

    ps5t0ck5 Friend
    #306916

    Stumped… so am I, because this looks as though the editor is still on – it works fine when I try it on a ‘test’ site.

    Please can you PM me.

    ps5t0ck5 Friend
    #306937

    Hi aardcom

    I did find something here

    http://www.joomlart.com/forums/topic/html-code-doesnt-work/

    so it looks like you might find it quicker and easier to use a plugin…

    http://extensions.joomla.org/extensions/edition/custom-code-in-content/1023/details

    and/or

    http://extensions.joomla.org/extensions/photos-&-images/maps/8213/details

    Hope you get it sorted out!

    ps5t0ck5 Friend
    #310596

    Hi aardcom

    Don’t know if you have solved this yourself or not but when upgrading to 1.5.12 (and potentially any Joomla upgrade that upgrades the editors) the parameters for the Editor plugin will be reset to default settings. You then have to go in and change them again as follows;

    Code Cleanup on Startup – off
    Code cleanup on save – never (or front only)

    And for maps and other widgets etc make sure that the prohibited elements allows what you want to include otherwise it will automatically remove some code.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  ps5t0ck5 15 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum