Gallery
|
gschmidt
![]()
Joined: 2009-03-26
Posts: 2 |
Posted: Thu, 2009-03-26 07:08
|
|
I am using Gallery 2.2.6 for my Virtual Pencil Case and I am very happy with it. I would like to integrate the Piwik Statistics into my Gallery installation. Where do I have to insert the JavaScript code provided by Piwik? Any help is much appreciated. |
|


Posts: 215
Thats would be somewhere in a .tpl for your theme. As an exammple for matrix which I use, its themes/matrix/templates/local/theme.tpl (theme.tpl is copied from themes/matrix/templates/ before modifying). You should be able to place it just before the </body> tag. n.b. if the javascript contains curly braces { then you will probably need to embed it like
{literal}
Your javascript code goes here.
{/literal}
_________
Mark
Posts: 2
Thank you very much – I'll try that!
_________
Virtual Pencil Case • Random Mechanical Pencil • Lexikaliker