4
For a
block - Go to System - Blocks.
At bottom of the page, in the 'Add a new block' section:
1) Select block type.
2) Check 'visible' = 'Yes'.
3) For 'visible in' select (ctrl-click) the pages on which the block is to appear.
4) Give the block a 'Title' - e.g. 'Google Ads'.
5) Paste YOUR Google Adsense code into 'content' field. E.g.
<script type="text/javascript">
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
script>
6) Select 'Content type = 'HTML'.
7) Submit.
To put Google ads into a
page I think you just paste both the JavaScripts into the body of the Smarty template for that page, in a table cell, or a DIV.
Templates are mostly regular HTML with some special codes. However, you cannot edit templates directly - you have to make a copy of them. To do this, open System - Templates, click the 'clone' link and name the cloned template set (e.g. 'mytemplates').
Then in System - Preferences - General Settings:
Default template set = 'mytemplates'.
Check templates for modifications ?' = 'Yes'. (You should change this to 'No' before the site goes live).
Then you need to find the template for the page you want to show Google ads in and edit it to add the JavaScript(s). Finding the right template to change is a matter of trial and error.
You should find more info on editing templates in the FAQ.
A thread is for life. Not just for Christmas.