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
A nugget on the top ban of the blog ?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: A nugget on the top ban of the blog ?
Hi!
You can use the "Page Nugget" event plugin for that. Or edit your index.tpl template file.
Regards,
Garvin
You can use the "Page Nugget" event plugin for that. Or edit your index.tpl template file.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 13
- Joined: Sun Mar 01, 2009 2:57 am
- Location: New England
- Contact:
Re: A nugget on the top ban of the blog ?
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
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 ?
Does the Google Adsense plugin not provide this?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
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.budgetbabe wrote:ps. I'm using the Bulletproof template
YL
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: A nugget on the top ban of the blog ?
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:
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.
Code: Select all
<div id="serendipity_below_banner"/></div>
The alternative would be to modify the index.tpl file in any way you wanted to accomplish your objective.
=Don=
-
- Regular
- Posts: 13
- Joined: Sun Mar 01, 2009 2:57 am
- Location: New England
- Contact:
Re: A nugget on the top ban of the blog ?
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!
-
- Regular
- Posts: 13
- Joined: Sun Mar 01, 2009 2:57 am
- Location: New England
- Contact:
Re: A nugget on the top ban of the blog ?
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!
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!
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: A nugget on the top ban of the blog ?
I do not encounter this issue with FF 3.6.3. Do you experience this behavior with any other browsers?
=Don=
-
- Regular
- Posts: 13
- Joined: Sun Mar 01, 2009 2:57 am
- Location: New England
- Contact:
Re: A nugget on the top ban of the blog ?
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.
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: A nugget on the top ban of the blog ?
Probably just a cache thing.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.
=Don=