Jump to content

Google Adsense - Help!!!


Guest Dantebuub

Recommended Posts

Guest Dantebuub

Hello everybody. Sorry about the post, but I need to setup google adsense in my CubeCart. I have searched, but everything I find, well I just don't get it. Can somebody point me to a Google Adsense setup in CubeCart, plain and simple. My site is optin-database.com, feel free to visit and please help me!

Link to comment
Share on other sites

OK bud since you are using Killer skin as I am and I have added adsense to my site here's the deal:

You are going to create a box and put the google script inside. Mine is on the right side (see my vitamin site). This code goes into your index.tpl. The google code is in red, everything else is the box code.

<div class="boxTitleRight"></div>

<div class="boxContentLeft">

<script type="text/javascript"><!--

google_ad_client = "pub-4608307379022091";

google_ad_width = 160;

google_ad_height = 600;

google_ad_format = "160x600_as";

google_ad_type = "text";

google_ad_channel ="";

google_color_border = "336699";

google_color_bg = "FFFFFF";

google_color_link = "0000FF";

google_color_url = "008000";

google_color_text = "000000";

//--></script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

<border="0" >

</div>

<div class="boxFootRight">&nbsp;</div>

Link to comment
Share on other sites

Guest Dantebuub

Again I feel like a total numbskull, but which file is "index.tpl". Where can I find it, in what folder, is it index.inc.php? or something else. Sorry, but I just can't seem to get it right. Sorry.

Link to comment
Share on other sites

Guest Dantebuub

Ok Ok I found the index.tpl file in Skins/Killer/

Theres 2 files thou, one in Content and one in Global. I edited the on in Content but nothing happened on my site, where does the code go. Do I have to put start and end strings? How do I get the box to appear. Anything I might be doing wrong??? Please help.

Link to comment
Share on other sites

Guest Dantebuub

this is my index.tpl file in global:

<!-- BEGIN: body -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<title>{META_TITLE}</title>

<meta name="description" content="{META_DESC}" />

<meta name="keywords" content="{META_KEYWORDS}" />

<link href="skins/{VAL_SKIN}/styleSheets/layout.css" rel="stylesheet" type="text/css" />

<link href="skins/{VAL_SKIN}/styleSheets/style.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="js/jslibrary.js" type="text/javascript"></script>

</head>

<body>

<div id="pageSurround">

<div id="topHeader">

<div id="sessionBox">

<div style="padding: 15px 8px 15px 15px; margin: 0px;">

{SEARCH_FORM}

{SESSION}

</div>

</div>

</div>

<div id="subSurround">

{CATEGORIES}

<table border="0" cellspacing="0" width="100%" cellpadding="0">

<tr valign="top">

<td width="175">

{SHOPPING_CART}

{INFORMATION}

{CURRENCY}

{LANGUAGE}</td>

<td style="padding: 0px 5px 0px 5px;">{PAGE_CONTENT}</td>

<td width="175">

{RANDOM_PROD}

{POPULAR_PRODUCTS}

{SALE_ITEMS}

{MAIL_LIST}

</td>

</tr>

</table>

</div>

{SITE_DOCS}

</div>

</body>

</html>

<!-- END: body -->

I've tried putting the code you gave me everywhere but it does not appear on my website. Can you tell me where it goes? or do I also have to put it in another file???

Link to comment
Share on other sites

Guest Dantebuub

<script type="text/javascript"><!--

google_ad_client = "pub-0622318535056731";

google_ad_width = 120;

google_ad_height = 600;

google_ad_format = "120x600_as";

google_ad_type = "text";

google_ad_channel ="";

//--></script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

That's my google adsense conde, if possible, i would like it to be on the lower left hand part of my website. Thx so much for your help!!!

Link to comment
Share on other sites

Here's your index.tpl. Upload to your server. if the position is not right just move the red part around.

<!-- BEGIN: body -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset={VAL_ISO}" />

<title>{META_TITLE}</title>

<meta name="description" content="{META_DESC}" />

<meta name="keywords" content="{META_KEYWORDS}" />

<link href="skins/{VAL_SKIN}/styleSheets/layout.css" rel="stylesheet" type="text/css" />

<link href="skins/{VAL_SKIN}/styleSheets/style.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="js/jslibrary.js" type="text/javascript"></script>

</head>

<body>

<div id="pageSurround">

<div id="topHeader">

<div id="sessionBox">

<div style="padding: 15px 8px 15px 15px; margin: 0px;">

{SEARCH_FORM}

{SESSION}

</div>

</div>

</div>

<div id="subSurround">

{CATEGORIES}

<table border="0" cellspacing="0" width="100%" cellpadding="0">

<tr valign="top">

<td width="175">

{SHOPPING_CART}

{INFORMATION}

{CURRENCY}

{LANGUAGE}</td>

<div class="boxTitleRight"></div>

<div class="boxContentLeft">

<script type="text/javascript"><!--

google_ad_client = "pub-0622318535056731";

google_ad_width = 120;

google_ad_height = 600;

google_ad_format = "120x600_as";

google_ad_type = "text";

google_ad_channel ="";

//--></script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

<border="0" >

</div>

<div class="boxFootRight">&nbsp;</div>

<td style="padding: 0px 5px 0px 5px;">{PAGE_CONTENT}</td>

<td width="175">

{RANDOM_PROD}

{POPULAR_PRODUCTS}

{SALE_ITEMS}

{MAIL_LIST}

</td>

</tr>

</table>

</div>

{SITE_DOCS}

</div>

</body>

</html>

<!-- END: body -->

Link to comment
Share on other sites

Guest Dantebuub

Thx so much for all your help. i have a confession to make, and even thou it makes me a jackass, well I am one regarding this. I had implemented the code correctly, I just could not see it because I use Maxthon and I had block web ads. So there I've said it, but anyway couldn't have done it with out you man. Interested in any email package for free????

Link to comment
Share on other sites

Guest Dantebuub

Well choose from any product at optin-database.com. Personally go with bulk with the 850 Million OptIn Email addresses, biggest there is... Just PM me, and I'll send download link, username and password.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...