Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding AdSense?


justedee

Recommended Posts

I need to put AdSence (and maybe others) into my store. Is there an easy way to do this?

I am VERY new to php and mysql programming and don’t want to try this on my own.

Is there maybe a friendly “Contribution” someone has posted? Or just a hint may work?

I still haven’t quite figured out Contribution either, but I’m working on it. I really wish there were a Dummies Guide.

~eDee

Ya, I'm a chick and I program! What of it?

Link to comment
Share on other sites

I need to put AdSence (and maybe others) into my store. Is there an easy way to do this?

I am VERY new to php and mysql programming and don’t want to try this on my own.

Is there maybe a friendly “Contribution” someone has posted? Or just a hint may work?

I still haven’t quite figured out Contribution either, but I’m working on it. I really wish there were a Dummies Guide.

~eDee

You will need this code if you have SSL or else you will get an error on SSL pages.

<?php  if ($request_type == NONSSL) {   /* only show adsense in NON SSL else it causes warning */
?>   
<tr><td  align="center">
 <script type="text/javascript"><!--

									PLACE GOOGE CODE HERE

 //--></script>
 <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script> 
 </td></tr>
 <?php } ?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...