Wednesday, May 23, 2007

Header - Adding a "Add a Page Element" widget

Headers are the first places where readers will see when they first come into your blog. Adding a graphic, banner and/or advertisements is a sure way to get your desired results.

I have implemented Google AdSense into Vitamin & Health blog.


This is how you can add a graphic to your header. Sign into Dashboard. For the blog you want to modify, click LAYOUT, then click EDIT HTML. Then look for this block of codes in the template:


<div id='header-wrapper'>

<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>

<b:widget id='Header1' locked='true' title='Replacing Blog Header (Header)' type='Header'/>

</b:section>

</div>


Change maxwidgets='1' to maxwidgets='4'(or any other number greater than 1, or even leave a number out, then there is no maximum) and change showaddelement='no' to showaddelement='yes'. (you may also leave out the figure in maxwidgets='' in which case the number of widgets you can add to the header is unlimited). So the section should now be


<div id='header-wrapper'>

<b:section class='header' id='header' maxwidgets='4' showaddelement='yes'>

<b:widget id='Header1' locked='true' title='Replacing Blog Header (Header)' type='Header'/>

</b:section>

</div>


Click SAVE TEMPLATE. Then click PAGE ELEMENT tab to go back to LAYOUT. You will see an extra "Add a Page Element" above the Header.

Source:
http://testing-blogger-beta.blogspot.com/2006/09/adding-graphic-to-your-blog-header.html

Read More...

Blog Burnt Out

I think I have been blogging too much which made me fell sick today. You can read all about it here.

My advice to fellow newbie bloggers like me is not to over stress your body. Blogging is fun and can be very addictive but please listen to your body, stop if you are fatigue. Go for walk, have a nice shower, drink plenty fluids and have a good rest, and that's what I'm going to do now.

Read More...

AdSense - An internal error occured. Please try again.

Anyone experience this error? I had and it was frustrating but fortunately, the solution is pretty simple.


Solution 1
Log into your AdSense account, generate the code and under Template, Page Element, add the code into your HTML/ JavaScript page element. Sounds pretty simple ya but when I was starting out, I thought that the only way to link to AdSense is via the page element.

Solution 2 (may not work)
Adding the code manually can be very tiresome. Since Google created AdSense to work with blogger, we should make full use of it.

  • Log out from all Google accounts.
  • Enter the following into your browser http://www.blogger.com/adsense-login.g?blogID=XXXXXX
    Replace XXXXX with your blog ID. Every Blog that you create has its own blogID - refer to the screenshot below on where you can find your Blog ID.

Read More...