ZenphotoCMS Forum
How to add custom tracker? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to add custom tracker? (/thread-10413.html)



How to add custom tracker? - meegja - 2012-09-16

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 part:

`

[Image: http://t1.extreme-dm.com/i.gif]

`




How to add custom tracker? - fretzl - 2012-09-16

In your themes folder (zpmasonry) locate the file index.php.
All the way down find:
`

`
.

Past your code between those two lines like this:
`

`
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




How to add custom tracker? - meegja - 2012-09-16

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 and tags and just realised that this all works different
But getting there




How to add custom tracker? - meegja - 2012-09-16

@ 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!