Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How to add a Adsense code in my menu ?  (Read 4030 times)

0 Members and 1 Guest are viewing this topic.

Mantis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
How to add a Adsense code in my menu ?
« on: April 23, 2007, 07:12:59 pm »

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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fxs314.xs.to%2Fxs314%2F07171%2Fcpgmenuadsense.png&hash=55eeaacb6520a46ddfa2819a33dff552835e227e)

Thanks for your help,

Regards,

Mantis
« Last Edit: April 24, 2007, 12:40:21 am by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to add a Adsense code in my menu ?
« Reply #1 on: April 23, 2007, 07:22:11 pm »

Logged

Mantis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: How to add a Adsense code in my menu ?
« Reply #2 on: April 23, 2007, 07:28:08 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...
Logged

Nibbler

  • Guest
Re: How to add a Adsense code in my menu ?
« Reply #3 on: April 23, 2007, 08:24:36 pm »

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

Mantis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: How to add a Adsense code in my menu ?
« Reply #4 on: April 23, 2007, 09:51:16 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 ?
Logged

Nibbler

  • Guest
Re: How to add a Adsense code in my menu ?
« Reply #5 on: April 23, 2007, 09:58:09 pm »

here:

Code: [Select]
      <!-- 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 -->
Logged

Mantis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: How to add a Adsense code in my menu ?
« Reply #6 on: April 23, 2007, 10:19:17 pm »

here:

Code: [Select]
      <!-- 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://forum.coppermine-gallery.net/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 ;)
Logged

Mantis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: How to add a Adsense code in my menu ?
« Reply #7 on: April 23, 2007, 10:26:29 pm »

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

Mantis

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: How to add a Adsense code in my menu ?
« Reply #8 on: April 24, 2007, 12:08:40 am »

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

Thanks for your support,

Mantis
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to add a Adsense code in my menu ?
« Reply #9 on: April 24, 2007, 07:46:59 am »

You should have posted what you actually did for the benefit of others...
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 14 queries.