I'm having a problem getting my Adsense block to work inside of the Cleaner template...
Inside of the header.html file I have the following
Code:
<div id="block_right">
<%block_hot_listing title="Top 10" max_item="10"%>
<%block_adsense%>
Inside of /theme/cleaner/blocks I have the following
Code:
<div class="block_small_title_02">+ Sponsors</div>
<img src="<%$tpl_base%>/images/spacer.gif" width="1" height="4" alt="" /><br />
<div class="block_small_content_03">
<div class="block_small_content_text">
<script type="text/javascript"><!--
google_ad_client = "XXXXXXXXXXXXXXXXXXXX";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
//2007-05-26: XXXXX - XXXXX
google_ad_channel = "9386212018";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "CCCCCC";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</div>
<img src="<%$tpl_base%>/images/spacer.gif" width="1" height="4" alt="" /><br />
Inside of my <root>/blocks/block.asense.php I have
Code:
<?php
/**
*
* INDEXU
* Copyright(C), Nicecoder, 2000-2006, All Rights Reserved.
*
* INDEXU(tm) is protected by Indonesia and International copyright laws.
* Unauthorized use or distribution of INDEXU(tm) is strictly prohibited,
* violators will be prosecuted. To obtain a license for using INDEXU(tm),
* please register at Nicecoder home page at http://www.nicecoder.com
*
* Author:
* Dody Rachmat Wicaksono (dody@nicecoder.com)
* M. Zuber (zubby@nicecoder.com)
*
*/
function block_adsense($params) {
if (!$params['template']) {
$params['template'] = 'block.adsense.html';
}
}
?>
The problem is, NOTHING is displaying... I'm not getting any errors, but the block is also NOT showing at all... Any ideas???