Page 1 of 1

Custom Page don`t work

Posted: 2. November 2010 15:38
by mstaviation
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.mst-aviation.nl

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

adsense.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}
and i put it in the portal_central file :

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]

Re: Custom Page don`t work

Posted: 2. November 2010 19:12
by archivar
mstaviation wrote: Boardlink: http://www.mst-aviation.nl
The theme would be blocked.
You get no support here, since you have cleared the copyright of phpBB and Copyright cleared by the Style Designer.