ZenphotoCMS Forum
piwik and zenphoto zpgalleriffic theme - 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: piwik and zenphoto zpgalleriffic theme (/thread-8489.html)



piwik and zenphoto zpgalleriffic theme - lithoman - 2011-04-14

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

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

thanks in advance
-allen




piwik and zenphoto zpgalleriffic theme - zenPhotoCharles - 2011-04-14

If you put the piwik code in footer.php, anything that includes that file will have the piwik code.




piwik and zenphoto zpgalleriffic theme - sbillard - 2011-04-14

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.




piwik and zenphoto zpgalleriffic theme - gjr - 2011-04-15

yes zenPhotoCharles is correct, all pages will include the footer.php




piwik and zenphoto zpgalleriffic theme - lithoman - 2011-04-20

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)