Where can I find the HTML source for editing?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
shovals
Regular
Posts: 26
Joined: Sun Jul 20, 2008 10:54 am
Contact:

Where can I find the HTML source for editing?

Post by shovals »

I want to insert Google AdSense code into my blog.
According to the instructions from Google I need to paste the code into the HTML file.
Where can I find this file on the FTP and is there something I need to know before doing the modification?
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

If your template uses its own index.tpl file, you can add it there. You can also install the plugin "HTML-Code inside head (HTML-Head Nugget)" which will not require a modification to your template, and will continue to work if you should change templates.
=Don=
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

Don Chambers wrote:If your template uses its own index.tpl file, you can add it there.
Depending on the actual AdSense code you want to insert, you might also need to modify the entries.tpl or other .tpl files. It really depends on where you want to place ads, so we might need more details.

YL
shovals
Regular
Posts: 26
Joined: Sun Jul 20, 2008 10:54 am
Contact:

Placing the adds

Post by shovals »

Well, I found the place to insert a banner, but when I wanted to place a skyscraper (on the left) it was sent to back.
I'm using the mozilla modern template
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Can you give us a URL, so we can see what the modified template looks like?
Judebert
---
Website | Wishlist | PayPal
shovals
Regular
Posts: 26
Joined: Sun Jul 20, 2008 10:54 am
Contact:

Here is the URL

Post by shovals »

yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

Well, there simply is no room for a skyscraper on the left :) Probably the easiest way would be to use three columns and place a HTML nugget plugin in the left sidebar. Then add your skyscraper code to that HTML nugget.

YL
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I don't see the skyscraper anywhere in there. Did you remove it already?

One easy solution is to add an "HTML Nugget" <i>sidebar</i> plugin and assign it to the left sidebar. It'll be the only thing on that side.

At least, I assume that's what you're trying to accomplish.
Judebert
---
Website | Wishlist | PayPal
shovals
Regular
Posts: 26
Joined: Sun Jul 20, 2008 10:54 am
Contact:

nugget it is

Post by shovals »

Thanks, it is ok now.
shovals
Regular
Posts: 26
Joined: Sun Jul 20, 2008 10:54 am
Contact:

HTML nugget on the right panel

Post by shovals »

BTW, if I wish to place ads on the right panel, should I use the nugget as well?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

It's the easiest way. You can put any HTML you want there.

If you need Javascript, you'll have include it from another file or look into the HEAD Nugget (which puts your text in the <HEAD> of the page).
Judebert
---
Website | Wishlist | PayPal
Post Reply