0 Replies Latest reply on Mar 14, 2010 4:17 AM by jen0dorf

    Template code error

    jen0dorf Level 1

      Hi

       

      have problems inserting a google map into a template.

       

      When I do I get the following message:

      You have made changes to code that is not marked editable. If you retain these changes they will be lost
      the next time you apply a template update to this file do you want.....

       

       

      It inserts a script code into the head - which is inserted into the instance begin region called head.

      <script type="text/javascript">
      /*wagmp*/
      <?php include("google_javascript/wagmp_map_1.php"); ?>
      </script>
      <script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAnuq0K56lajh3gfNNLu3GxhQPsYer20scIhuJe 3lrtkc4-gw_lBScht0raeQ_7yxUannaDm90dRE7pA">/*wagmp*/</script> then inserts a map into the editable area I've called content.

      It

       

      <div id="wagmp_map_1" style="width: 300px; height: 300px;"></div>
         
                  <script type="text/javascript" src="google_javascript/wagmp_maps.js">/*wagmp*/</script>


      Thats all the code added I can see and it's all within edit tags.

      What am I mssing?

      thanks

      Ian