adding google-adds adding google-adds
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

adding google-adds

Started by MikeNL, October 05, 2005, 10:47:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MikeNL

Hi,
Hoe to add google-adds in the transition-theme??? I tried to figure out, but can't come a step further.
I want to add the adds into the index.php-file and at several others. How do I do that?? I looked around, how others did this in their index.php-files, but these differ alot from the ones of mine.
To start with: Where and in which file exactly do I have to add the google-add-code?? I want it to appear in every page just before the footer. Which files do I have to modify to accomplish this and where exactly? Help!

Thanks so much in advance.
Mike

artistsinhawaii

Did you search for google ads?   I'm pretty sure this has been addressed and resolved a number of times.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

MikeNL

Hi,
I searched and searched and couldn't find the solution yet....

Mike

MikeNL

I tried to copy the google-ads-code into different location inside the transmission-theme.php, as recommended, but nothing happens, even after refreshing...

What do I do wrong???

Mike

artistsinhawaii

Quote from: MikeNL on October 05, 2005, 11:29:30 PM
I tried to copy the google-ads-code into different location inside the transmission-theme.php, as recommended, but nothing happens, even after refreshing...

What do I do wrong???

Mike

Did you try this one?  It's pretty recent.  http://forum.coppermine-gallery.net/index.php?topic=20491.msg93776#msg93776

Get it to work first before trying to put it into other locations.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

MikeNL

Hi Dennis,

I tried this one several times, but without result.... I don't know now....

Mike

Nibbler

Paste the google code into your theme's template.html file, somewhere near the end but before the </body>. Post a link to your site if it doesn't work.

MikeNL

Hi,
I finally managed! It was in the html-template indeed, but not at the end near the >/body> It was somewhere in the middle of the page.
If you would like to see the result, here comes the url: http://www.leylant.com/cpg134/index.php

Thanks anyway for your help and for this great product!

Mike

Joachim Müller

The line "Powered by Coppermine Photo Gallery" on your page is nearly not readible. Please make it stand out a bit more - undo your changes to the footer class.

MikeNL

You are right, GauGau, - I will fix this!

Mike