Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • brunotedeschi Friend
    #147136

    I would like to add a module for Google Analytics. In previous JA templates, it was easy to do by adding it to this location on the index.html file in the template folder:

    </div>
    <jdoc:include type=”modules” name=”debug” />
    <jdoc:include type=”modules” name=”googleanalytics” style=”raw” />
    </body>
    </html>

    The index.html file was easily accessed through the back end in the Template Manager by clicking on the “Edit HTML” button.

    However, for JA Selini as well as JA Teline III, the “Edit HTML” button calls the index.php file.

    Obviously, you can’t add the module code snippet to a .php file.

    So my question is where is the HTML body file located where I would add this bit of code?

    Thanks.

    brunotedeschi Friend
    #327638

    I found the answer to this question in the Teline III forum.
    If you want to add a google analytics module to the template, you have to add this code:
    <jdoc:include type=”modules” name=”googleanalytics” style=”raw” />
    right before the </body> tag

    to
    to these files

    default.php
    handheld.php
    iphone.php

    which are located in this folder:

    /templates/ja_selini/layouts/

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

This topic contains 2 replies, has 1 voice, and was last updated by  brunotedeschi 14 years, 11 months ago.

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