Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Help with Hardwired Theme  (Read 2394 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Help with Hardwired Theme
« on: March 04, 2005, 03:43:11 pm »

Hi There!

My name is Nuno Cunha, and this is one of my first posts....

I need help, because I'm not an expert in coding, and my hosting company says that I have to have a small banner ad in every page of my website....

My question is if someone can help do this... I use the theme hardwired in my webpage under "photos".

I want to place the following ad code in the header of this theme...Is it possible?

Thanks in advance...

Code: [Select]
<script language='JavaScript' type='text/javascript' src=''></script>

<script language='JavaScript' type='text/javascript'>
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("" + phpAds_random);
   document.write ("&amp;what=zone:2&amp;target=_blank");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");

</script><noscript><a href='' target='_blank'><img src=';n=a4f0eec1' border='0' alt=''></a></noscript>


  • Guest
Re: Help with Hardwired Theme
« Reply #1 on: March 04, 2005, 03:44:36 pm »

Sure, just copy paste it into your theme's template.html where you want it to appear.
Pages: [1]   Go Up

Page created in 0.022 seconds with 21 queries.