Added AdSense by Google
2006.02.14 08:20 Filed in:
Tech
With just a little bit of work, I managed to add Google
Ads to my web site.
One thing that I like about Google is that they make
things easy.
One thing that I like about Plone and Zope is that they
make things easy.
In about an hour or two, I managed to put AdSense ads
on my web site.
1) Go to Google.com/adsense and sign up for your
account. Click on all of the emails to activate your
account. Log in and grab your AdSense code.
2) Add a portlet to your custom area in Plone. Paste
Google's AdSense code in the body of your portlet.
3) Add portlet to your root Plone
right_slots property. Refresh your
browser to see your Google ads.
Resources
• Plone book errata
An example of Google AdSense portlet
http://www.agmweb.ca/plone/book/scripts.html
(look for "Page Template: google_ad_portlet")
• Plone.org
Page with an example page template used for a portlet
http://plone.org/documentation/how-to/create-static-slot
• Plone.org - how to control portlets
Reminder for properties used to activate portlets.
http://plone.org/documentation/how-to/control-portlets