Page 1 of 1

A nugget on the top ban of the blog ?

Posted: Mon May 08, 2006 4:49 pm
by dymezac
Hi Garvin,

i am now wondering if it is possible to put a nugget on the top of my weblog, I mean where the title of the blog is. For my blog it is on the long blue image on the top of the screen, because there is much space here.

For example to put my xiti bann or google adsense ?

Is it possible ?

many thanks..again

Re: A nugget on the top ban of the blog ?

Posted: Mon May 08, 2006 5:07 pm
by garvinhicking
Hi!

You can use the "Page Nugget" event plugin for that. Or edit your index.tpl template file.

Regards,
Garvin

Posted: Mon May 08, 2006 6:45 pm
by dymezac
Ok the Page nugget event plugin didn't fit..
So i think i am going to study how to personalize a template or a theme..

thanks again .. and again ;)
Have a good afternoon Garvin

Re: A nugget on the top ban of the blog ?

Posted: Sun Mar 01, 2009 4:17 am
by budgetbabe
Hi,
I think my question is related to this post: I'm trying to figure out how to insert a large horizontal banner ad (using Google Adsense code) either above my main header image or directly below it OR I'd like to create a smaller header graphic and place it to the left of the banner ad (as I've seen done on such sites as FabSugar.com)

Here's a link to my blog: www.thebudgetbabe.com

Any advice would be greatly appreciated! Thanks.

ps. I'm using the Bulletproof template

Re: A nugget on the top ban of the blog ?

Posted: Sun Mar 01, 2009 3:14 pm
by yellowled
budgetbabe wrote:I'm trying to figure out how to insert a large horizontal banner ad (using Google Adsense code) either above my main header image or directly below it
Does the Google Adsense plugin not provide this?
budgetbabe wrote:ps. I'm using the Bulletproof template
Any inclusion of ads which can not be done using a plugin or the BP theme options will mean that you're going to have to edit core files of BP like the index.tpl. Those will be overwritten with the next s9y and/or BP update, i.e. you'll have to "backport" those changes after any update. Not sure if that's worth it.

YL

Re: A nugget on the top ban of the blog ?

Posted: Sun Mar 01, 2009 4:07 pm
by Don Chambers
Bulletproof provides a mostly un-used DIV directly below the banner, if you want to use that. In the file /templates/bulletproof/index.tpl, look for this code:

Code: Select all

<div id="serendipity_below_banner"/></div>
Place your google code within that <div>. You might need to add some css to it to get it to display how you want, and as Yellowled mentioned, you would need to make a similar modification if you ever upgraded your bulletproof template. Looks like you have done some nice revisions to BP for your site.

The alternative would be to modify the index.tpl file in any way you wanted to accomplish your objective.

Re: A nugget on the top ban of the blog ?

Posted: Sun Mar 01, 2009 5:05 pm
by budgetbabe
Thanks, this is really helpful. I'm going to try the un-used DIV first, and if that's too obtrusive, I'll attempt to modify the index.tpl file. Thanks again!

Re: A nugget on the top ban of the blog ?

Posted: Mon May 03, 2010 4:58 pm
by budgetbabe
It's been a while but here's an update...and another problem!

I finally got my ad to display above the banner, but I did it by putting a table into the "serendipity_event_head_nugget" plugin, which allows you to insert HTML-Code into the HEAD-area of your blog.

It works fine, but on every 3rd or 4th time to load the page in Firefox, the gray "background" behind all the columns of the blog layout disappear...here's what it looks like:

http://www.thebudgetbabe.com/uploads/20 ... d-blog.jpg

I'm wondering if it has to do with the type of ad that's being delivered, and if so, is there a way I can tweak my table code to fix the problem? Here's the code as it stands now:

<center><table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><script type="text/javascript" language="javascript" src="http://www2.glam.com/app/site/affiliate ... cript></td>
<td><a href="http://www.thebudgetbabe.com/categories ... ales"><img src="http://www.thebudgetbabe.com/uploads/20 ... 90x270.jpg" img border=0></a></td>
</tr>
</table></center>

Ideas? Thx!

Re: A nugget on the top ban of the blog ?

Posted: Mon May 03, 2010 8:15 pm
by Don Chambers
I do not encounter this issue with FF 3.6.3. Do you experience this behavior with any other browsers?

Re: A nugget on the top ban of the blog ?

Posted: Mon May 03, 2010 10:22 pm
by budgetbabe
Nope, not seeing it in IE (probably should have tested that earlier!). I'm also using Firefox 3.6.3. Maybe it's just my browser?! That would certainly make my life easier. Thx for the feedback.

Re: A nugget on the top ban of the blog ?

Posted: Mon May 03, 2010 11:06 pm
by Don Chambers
budgetbabe wrote:Nope, not seeing it in IE (probably should have tested that earlier!). I'm also using Firefox 3.6.3. Maybe it's just my browser?! That would certainly make my life easier. Thx for the feedback.
Probably just a cache thing.