Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I have been using Statcounter with the CE plugins for awhile. I put the statcounter code into the ttg_body_bottom function in the phpplugins file. That worked fine, except I think with the full stage gallery. I never got around to try solving that one.
With Backlight, this body_bottom tag doesn't seem to exist. I tried it in the ttg_scripts function, but it doesn't seem to do anything there. I have tried it in some other function areas, I forget now what ones I have tried, but the mast_head and navigation related ones I remember, but they either break the page, ie the page doesn't load, or it does nothing.
Which is the proper function to include it under?
Is there anything special I need do to have it work with "in-page" theatre templates and full-page theatre templates?
Thanks.
Offline
try the ttg_main_bottom or ttg_gallery_bottom hooks.
Take a look at the phplugins file, there are now many more hooks than what the documentation page shows, assuming your version of Backlight is up to date.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod. I saw all the new hooks in the phpplugins file, but couldn't tell what each actually did. As far as I know, my Backlight is up to date. Whenever a new version comes out, I update. I'm using 1.1.1.
I'll give those hooks a try and report back.
Offline
this page I created might help in visualizing the hook locations: http://backlight-rb-test.barbeephoto.co … -locations
and here's one for albums: http://backlight-rb-test.barbeephoto.co … locations/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
These are great resources, Rod. Thanks.
Offline
If you want Phplugins files to create reference pages of your own, you can download them here:
http://ttg-tips-and-tricks.barbeephoto. … backlight/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I tried the main_bottom hook and it seems to work for everything, including full page theatre galleries. I kept the code I received from Statcounter in a separate html file and just added an include line in the php file within that hook.
Thanks again Rod.
Offline
Pages: 1