How to add custom tracker?

Hello

I am a total noob when it comes to PHP and so on but do know my way around HTML.
I am trying to add the ExtremeTracker to my site (been using that for years) but I can not find where to add it? It only has to be on the first page but when looking at index.php I see nothing familiar.
When I look at the page code through a browser, I see the HTML coding. But I did look through the Zenphoto directory (also with FTP), I can not find anything that looks familiar ... probably because I don't know what I am looking for ;-)

Anyway, here is the code that I want added somewhere on the first page. Should be in the <body> part:

``

Comments

  • fretzl Administrator, Developer
    In your themes folder (zpmasonry) locate the file `index.php`.
    All the way down find:
    `


    <?php include ("inc-footer.php"); ?>
    `
    .

    Past your code between those two lines like this:
    `




    <?php include ("inc-footer.php"); ?>
    `
    This will put your tracker on the bottom of the homepage only.

    Of course you'll need to learn at least some basic PHP if you want to do more with Zenphoto.
    Please also read the theming tutorial.
    http://www.zenphoto.org/news/theming-tutorial
  • Never mind, this topic can be closed. Like I said, I'm a noob and just did found now that index.php is the place to be. I'm used that on the index there are the <header> and <body> tags and just realised that this all works different :)
    But getting there :)
  • @ fretzl

    Posted at the same time I believe :)
    Okay, will give that a try, thanx!
    And doing/trying stuff like this is giving me a bit of mini basic PHP :)
    Will look over at the URL, thanx!
Sign In or Register to comment.