Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Google analytics problem installing

    I'm trying to install an add on for google analytics. In the Read me info, it's telling me to install a piece of code into this file


    /includes/templates/[your_template]/common/tpl_main_page.php

    (my template is ''classic") I do NOT have this file. Searched throughtout my file manager, seached in Developers tool kit. Other templates that I DON'T use, that are in my directories DO have this file. But my template doesn't.

    Any suggestions? Is there a simpler way to install google an?

    The add on I'm trying to install is here
    Last edited by sheila123; 15 Mar 2009 at 01:32 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Google analytics problem installing


  3. #3
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Google analytics problem installing

    Huh? Holy cow. Does this mean I have to re-do my whole site from scratch?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Google analytics problem installing

    Huh? Holy cow. Does this mean I have to re-do my whole site from scratch?
    NO! Read the tutorials

    Just create a folder named for your template and replicate in all places where you have edited files that exist in a classic folder.

    Copy these edited contents from classic folders to your folders

    Create a template_info.php with your template name now select it from the admin and reset the side boxes - you will have to re-do your sidebox selections and order

    Now when you upgrade and all classic folder contents get overwritten, your customizations are safe

  5. #5
    Join Date
    Mar 2009
    Posts
    106
    Plugin Contributions
    0

    Default Re: Google analytics problem installing

    Thank you SO much. OMG, I almost had a coronary! lol. I was just reading the links (above). Very helpful. It's funny when I started this site, I just assumed that CLASSIC was an 'option' of templates available for use. So I just didn't read that whole thing about Classic Templates. Big BIG DUH.

    Thanks again, I really appreciate all your help.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Google analytics problem installing

    Back to your original issue:
    /includes/templates/[your_template]/common/tpl_main_page.php

    Just make a copy of this file from
    /includes/templates/template_default/common/tpl_main_page.php

    And place it in your template after adding the Google code

 

 

Similar Threads

  1. admin white page when installing Google Analytics code
    By DArnaez in forum Basic Configuration
    Replies: 11
    Last Post: 25 Apr 2015, 12:41 AM
  2. v151 Help installing Google Analytics - What's the Common1 folder?
    By VVLsr in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 13 Mar 2014, 03:25 AM
  3. Installing Google analytics
    By Minu in forum General Questions
    Replies: 7
    Last Post: 5 Jan 2011, 11:22 PM
  4. Trouble Installing Google Analytics Module
    By chemibase in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 8 Jun 2010, 04:28 PM
  5. Installing Google Analytics
    By andoverit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Apr 2009, 06:12 AM

Posting Permissions

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