script and link to bottom of page

numaiu

Joined: 2009-10-18
Posts: 2
Posted: Sun, 2009-10-18 15:15

Hello!
I want to introduce on my gallery a script and a link from a trafic ranking website. I want to put it on the bottom of every page, right near to the "Gallery 2" link. How can I do that?
This is my gallery: http://www.sepcile-rosii.com/galeriefoto/main.php

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-10-18 15:50

http://codex.gallery2.org/Gallery2:How_To_Add_Google_Analytics_to_my_Gallery_2
Most code would be similar. If you have javascript then you will have to use the proper smarty tags to escape the JS.
you need to escape JS and or php tags in template files.
http://www.smarty.net/manual/en/language.function.literal.php
http://www.smarty.net/manual/en/language.function.php.php

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
numaiu

Joined: 2009-10-18
Posts: 2
Posted: Sun, 2009-10-18 20:51

thank you very much!