How to add a Adsense code in my menu ? How to add a Adsense code in my menu ?
 

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

How to add a Adsense code in my menu ?

Started by Mantis, April 23, 2007, 07:12:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mantis

Hi all,

I'm trying to add a Google Adsense code in the menu of my Coppermine Gallery (i'm using the Black_Widdow template)
I would like add this code juste under the line "Forum" "Album" etc... Exactly like the image shows:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fxs314.xs.to%2Fxs314%2F07171%2Fcpgmenuadsense.png&hash=55eeaacb6520a46ddfa2819a33dff552835e227e)

Thanks for your help,

Regards,

Mantis

Joachim Müller


Mantis

Quote from: GauGau on April 23, 2007, 07:22:11 PM
Search for "adsense"

I've tiref before posting, but without solution sorry...
Nobody in the topics wants to place the adsense code like me...

Nibbler

Put the code in your template.html under the menu tags.

Mantis

Quote from: Nibbler on April 23, 2007, 08:24:36 PM
Put the code in your template.html under the menu tags.

Sorry but i dont' know where... What are tne menu tags in template.html ?

Nibbler

here:


      <!-- middle section header -->
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="3"><img src="themes/black_widdow/images/menu_01.jpg" width="100%" height="17" alt="" /></td>
        </tr>

        <tr>
          <td rowspan="2"><img src="themes/black_widdow/images/menu_02.jpg" width="15" height="36" alt="" /></td>
          <td background="themes/black_widdow/images/menu_03.jpg" width="100%" class="topnav" align="center">{SYS_MENU} <br />
            {SUB_MENU}</td>
          <td rowspan="2"><img src="themes/black_widdow/images/menu_04.jpg" width="15" height="36" alt="" /></td>
        </tr>
        <tr>
          <td><img src="themes/black_widdow/images/menu_05.jpg" width="870" height="19" alt="" /></td>

        </tr>
      </table></td>
  </tr>
  <!-- middle section header -->

Mantis

Quote from: Nibbler on April 23, 2007, 09:58:09 PM
here:


      <!-- middle section header -->
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="3"><img src="themes/black_widdow/images/menu_01.jpg" width="100%" height="17" alt="" /></td>
        </tr>

        <tr>
          <td rowspan="2"><img src="themes/black_widdow/images/menu_02.jpg" width="15" height="36" alt="" /></td>
          <td background="themes/black_widdow/images/menu_03.jpg" width="100%" class="topnav" align="center">{SYS_MENU} <br />
            {SUB_MENU}</td>
          <td rowspan="2"><img src="themes/black_widdow/images/menu_04.jpg" width="15" height="36" alt="" /></td>
        </tr>
        <tr>
          <td><img src="themes/black_widdow/images/menu_05.jpg" width="870" height="19" alt="" /></td>

        </tr>
      </table></td>
  </tr>
  <!-- middle section header -->


OK thank you Nibbler, it's ok now ;)

Just a thing: i want change the color of the background of this menu (the same):


(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fxs314.xs.to%2Fxs314%2F07171%2Fcpgmenuadsense.png&hash=55eeaacb6520a46ddfa2819a33dff552835e227e)

I know that i have to make this changement in style.css but I don't know where. Whick color is corresponding to this background menu ?

Thanks for our help ;)

Mantis

'cause as you can see here, the adsense background is black (#000000) and i want to set up this color for the menu too...

Mantis

OK, i've finally find what i want..

Thanks for your support,

Mantis

Joachim Müller

You should have posted what you actually did for the benefit of others...