crankyconsumer
Jan 15 2008, 10:25 AM
Hello, I am new to MT 4.1...just upgraded from the old school 3.2 version. I am trying to add my adsense code to show up below each article in the main index page, and on the sidebar. Can someone show me from square 1 how this is accomplished?? I would be much obliged.
Moof!
Jan 17 2008, 03:34 PM
I'm totally new to MT, but I was able to add AdSense to my sidebars using this article:
http://www.learningmovabletype.com/a/working_with_mo/
phillc
Jan 23 2008, 07:19 AM
I'm also brand new to MT, but took a slightly different approach to adding Adsense to my Blog. I don't know if it was the "right" or "wrong" way, but it worked.
I'm using Movable Type Open Source, Nightly Build Jan 23rd at the moment. It's essentially a 4.1 system from what I can understand.
I wanted Adsense in my Sidebar. Here's what I did.....
1. Navigate to Design > Widget Sets
2. Click on the link that corresponds with your design - for me it was 2 Column layout Sidebar
3. Look for the "Powered By" widget, click Edit next to it.
4. Type a new Title - e.g. Google Adsense Sidebar
5. Remove the "a href" tag and replace it with your Google Adsense javascript.
6. Save
7. Back at the page with the list of Installed and Available widgets, drag the new Google Adsense Sidebar widget from the Available side to the Installed side, in a position where you want the ads to appear.
8. Republish your site
Thus I've avoided having to edit any of the Template Module files, as outlined in the above linked article.
Now, the above method still retains the <div class="widget-powered widget"> within the Google Adsense Sidebar widget, so effectively the new widget is just masquerading as the Powered By widget. I don't know if this is a bad thing or not, but it works.