Gallery

gschmidt
gschmidt's picture

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.

 
mridgwel

Joined: 2007-01-27
Posts: 215
Posted: Thu, 2009-03-26 10:40

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

 
gschmidt
gschmidt's picture

Joined: 2009-03-26
Posts: 2
Posted: Mon, 2009-03-30 04:11

Thank you very much – I'll try that!

_________
Virtual Pencil CaseRandom Mechanical PencilLexikaliker