Alright! This quick video from ShowMeHowToDoThis.com is going to show you how to add Adsense, Google Adsense, to a default Movable Type entry. Now, in other videos on this website we show you on show me how to do this how to edit that template, but lets say you did not have time or did not have the interest or just did not want to change the template itself.
Movable Type comes with some basic templates. And the major templates that you want to edit are the main index, which is under the indexes here, and also the archives. This includes a category archive, date-based archive, and an individual entry archive. So, for purposes of this quick video we are just going to show you how to edit the individual entry archive for a Movable Type entry.
So I click on the individual entry archive and that opens this page. What I would encourage you to do, if you use Microsoft FrontPage or if you use Macromedia Dreamweaver, is copy all of this text because it becomes much easier to edit it, once it is actually in some sort of editor. So copy all of this text and paste it into a Microsoft FrontPage or Macromedia Dreamweaver new document.
So I am inside of Microsoft FrontPage. This is a brand-new page and I am simply going to highlight all of this text, and then I am going to paste over the top of it. Then click down in the viewing window down here, and I can see that there is code down here. Now the Movable Type templates pull their attributes from the stylesheet, and if you do not know how to edit stylesheets. that is fine. This video is not going to cover that. What you want to do is add your Adsense code into this particular template. So we are going to put Adsense below the entry body. We are also going to put Adsense below the entry more tag. So we will go ahead and go over to Google Adsense, and I will log in here.
Once you are logged into Google Adsense you want to click on the Adsense setup tab. Adsense will automatically send you to the report tab, but you want to click on the Adsense setup tab and then click on Adsense for content. And inside of the Adsense for content you are going to want to create an ad unit and you can choose what kind of ads you would like. Obviously set up whatever you are used to setting up with Google Adsense.
I like to use text ads only, and click continue. And then you choose whatever size of format you usually like. Now in this case I would say choose the 336 x 280 large rectangle and I have a setting in here that I like to use, which is just a blue URL with black text, and sometimes I like to change it so that the URL is also the same color as the title so that it is a hyperlinked color in the default hyperlinked color (blue). And then I am going to go ahead and grab my code from lower down on the page.
Well, it is lower down on the page if you choose the single page format, but if you choose the wizard then you just have to go through a couple of steps, but either way, once you get there, you just copy this text that Google Adsense gives you.
And once you have copied that from Google Adsense, you are going to go back over to Microsoft FrontPage and right where it says MTEntryMore, right underneath that there is a DIV tag up here. I do not know if you know to DIV tag means. If you do not, that is fine. What you want to do is put a break in and that is what that BR stands for and then go ahead and paste your code right into that page. Now if you click back down here, you will not see it actually show up, but it is there because it is in the code. I also wanted to put that, lets say, lower down on the page. I am going to have the exact same thing I want to put it at the very bottom of the page.
Well this is all on the right-hand side, this is all on the right-hand side column, all of this stuff, starting with search. So if I go and look up into the code here, I can see that there is this "DIV ID=beta". If you do not know what that means, it just means the right-hand side column in the default Movable Type setup. So I just go right above that "DIV ID=beta" and I go ahead and go in here and I click paste again, and it is got my code in there now twice. Once comes right after the MTEntryMore tag, so there'll be an Adsense block right here. And then once will come right after the comments, right down here.
So then I will copy all of this text so I am going to highlight all of this. I can do this by select all and copy all of that. And I am going to go back over to Movable Type and all of that is still highlighted. Well, I am just going to paste the text I just edited into there and if I scroll up in a here I can see I have got Google code in here now. And that will put those Adsense blocks right onto my entry.
The only things left to do are go ahead and click save.
And once it saves them to go ahead and rebuild the site and in this case, we just changed the individual archives, so I am going to go ahead and rebuild the individual archives.
And once I have done that, the individual archives will show up with that Adsense on the page. So that is all there is to it. If you would like to learn more about all kinds of stuff, we have videos about literally thousands of different items about how to do all kinds of things. You can come and visit us online at ShowMeHowToDoThis.com, again.
Thank you very much and have a great day!
Comments
Hello - This was a great video & very helpful.
I have used Moveable Type(MT) for a while now on another site (www.thesolarplan.com), however, someone else set up the MT templates for me with Google Adsense already included. This video made the process very easy and very understandable. Took me all of about fifteen minutes to get things set up.
Thank You So Much - This is a great service your offering here .... and I'll be back!
Posted by: Rulesforthegame | March 21, 2007 3:33 PM
-----------------------------