Member
Member
lithoman   2011-04-14, 08:29
#1
I want to use piwik (http://piwik.org/) to track my site but there is no plug-in. if I paste the code (javascript) after the php will the server read it. I usually place it in the <head> tags in html docs. The php files in my theme are pure php docs. I entered it in index, gallery, pages, album, image files in my theme(zpgalleriffic) should that cover every thing.
They all contain <?php include("footer.php"); ?>

or if i put the code in footer.php will it go in every page?

thanks in advance
-allen
Member
Member
zenPhotoCharles   2011-04-14, 15:10
#2
If you put the piwik code in footer.php, anything that includes that file will have the piwik code.
Member
Member
sbillard   2011-04-14, 20:18
#3
I've added zpgalleriffic to your topic as it seems a pretty important bit if information. This will make it easier for the author of that theme to notice your post and possibly respond.
Member
Member
gjr   2011-04-15, 13:33
#4
yes zenPhotoCharles is correct, all pages will include the footer.php
Member
Member
lithoman   2011-04-20, 19:01
#5
Thanks guys I was away a week. Putting the code in the footer file seems to have worked. It works for zpfocus too. (I have multiple installations of Zenphoto)
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.