Uploaded image for project: 'Advanced'
  1. Advanced
  2. TADV-12

Google maps JS doesn't load on Link Details template

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2-B1
    • Component/s: General
    • Labels:
      None

      Description

      Current template code in in-link/elements/html_head.tpl

      [code]
      <!-- GOOGLE MAPS API INTEGRATION ##-->
      <inp2:m_if check="m_IsActive" t="in-link/detail">
      <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
      <script type="text/javascript" src="http://www.google.com/jsapi?key=<inp2:m_GetConfig name="l_GoogleMapsAPIKey"/>"></script>
      <script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Link"/>inc/googlemaps.js"></script>
      </inp2:m_if>
      </inp2:m_if>
      <!-- GOOGLE MAPS API INTEGRATION ##-->
      [/code]

      has INCORRECT template path in the IF "in-link/detail".

      It should be "in-link/links/link_detail".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
                Developer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: