Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.mst-aviation.nl/custom/phpBB/
PHP Version: 3.0.7
What have you done before the problem was there?
Nothing, just experimenting
What have you already tryed to solve the problem?
Yes i searched the forum, and used the FAQ / KB : knowledge/kb_show.php?id=51
Description and Message
Helly Guys,
I want to add google ads to my frontpage,
i made a custom page named adsense.html and put it in the folder : \styles\your_style\template\portal\block\adsense.html
adense.html
Code: Select all
{$LR_BLOCK_H_L}Your_Block_Title{$LR_BLOCK_H_R}
<div style="text-align: center;">
<script type="text/javascript"><!--
google_ad_client = "pub-**************";
/* 728x90, gemaakt 15-5-08 */
google_ad_slot = "0537780802";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Code: Select all
!-- IF S_DISPLAY_MAINMENU -->
<!-- INCLUDE portal/block/adsense.html -->
<!-- ENDIF -->
But when i look on my portal after removing the cache i don`t see any extra block, what do i wrong?[/i]