Showing posts sorted by relevance for query Embedded below post. Sort by date Show all posts
Showing posts sorted by relevance for query Embedded below post. Sort by date Show all posts

June 27, 2008

How to add a comment form beneath your blog posts

Blogger have developed an inline (embedded) comment form which can be enabled through Blogger in Draft. This is probably the most requested feature for Blogger, and I'm sure many of you will want to use this straight away!

To enable inline comments for your Blogger powered blog, you need to log into your dashboard through Blogger in Draft. Then go to Settings>Comments and scroll down the page to see the new "Comment form placement" setting:


Check the radio setting for "Embedded below post" which will enable the display of the comment form below your blog posts.

If you have customized your template, you will need to make a small change to your template code for this comment form to display. But don't worry, it's a very simple customization to make!

Simply go to Layout>Edit HTML in your blog's dashboard and check the "Expand widget templates" box. Then search for this section of code:


<p class='comment-footer'> <b:if cond='data:post.allowComments'> <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a> </b:if> </p>
Replace this entire section of code with the following instead:


<p class='comment-footer'> <b:if cond='data:post.embedCommentForm'> <b:include data='post' name='comment-form'/> <b:else/> <b:if cond='data:post.allowComments'> <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a> </b:if> </b:if> </p>
Then save your template. Now when you view a post page in your blog, you should see the new comment form in place!

Update: As many of you have pointed out in the comments, not all templates feature the code I've described above.

Luckily, Is has offered a method which is much easier to use, and has worked for every template I've tried so far. So if my original method isn't working for you, try this instead:

Search for this line in your template code:

<b:include data='post' name='comments' />
Immediately after this line, add the following line of code:
<b:include data='post' name='comment-form'/>
Then save your template. This method adds the required code for the comment form without having to alter the whole comment area, and is very useful if you have experienced problems using the original method Thanks for the hint, Is!

If you don't see your comment form, make sure you have changed this setting through Blogger in Draft and have added your code in the correct place in your template.

You can see this comment form in action beneath this post. Using this comment form allows readers to comment using their Google account, OpenID, Name/URL and all of the settings previously available when using a pop-up or full page comment form (depending on the settings you have chosen).

I am very happy to see that Blogger have listened to our requests and have added this great functionality to our blogs. There are also some other new features added to Blogger in Draft including an improved posting page and import/export features which you can read about in the Blogger in Draft blog.

Please let me know what you think of this new feature by leaving your comments below.

Inline comments are available for Blogger blogs!

I'm thrilled to tell you that the Blogger team have enabled a comment form below the post - Wordpress style! This is probably the feature we ALL wanted added to the Blogger service, so many thanks go out to the Blogger team for enabling this service for us.

The inline comment form is currently available through Blogger in Draft. To activate this, go to Settings>Comments in your Blogger dashboard and scroll down to "Comment form placement" where you can check the radio setting for "Embedded below post".

There is only one problem with this at the moment: those of us who have customized our templates cannot currently use this feature. This is because our templates do not contain the code required to display the comment form. If you use a default template, your comment form should automatically appear below your post once you have changed the comment settings in your blog.

I will post about this in full detail in the next couple of hours with instructions for those who have modified their templates. Update: I have now posted full details for adding comment form functionality to your customized Blogger template, and you can also see this in action beneath this (and every) post on Blogger Buster.

February 02, 2009

How to easily add interactive Google Maps to your Blogger posts

Adding Google Maps integration to your web projects can offer visitors a more interactive experience of your website and assist the understanding of where events or business takes place.

In a recent project, I decided to utilize Blogger to create a website for a local business, and found that including Google Maps was of great benefit for visitors to understand where the business is located. However, of the many tutorials on the web which explain how to add Google Map functionality to our websites, I was unable to find clear instructions for how maps can be added to a Blogger powered blog.

Luckily I discovered two simple and highly useful techniques for adding Google Maps to blog posts with no editing of the template required.

In this post, I'll explain just how easy it is to add interactive Google Maps to your blog posts, which can offer your readers further insight into events, business or other local information which are relative to your site or blog posts.



An Overview of Google Maps and Blogger

Bloggers write for many different reasons: some to log their daily activities or keep in touch with friends and family; others to publicize their business, or earn an income online by providing useful and informative articles.

No matter what the genre of our subject matter, there may well be times when area maps relevant to our posts may enhance the experience for our readers. A family blogger for example could illustrate their holiday destination, while a business blog could demonstrate the location of their shops.

While Blogger's recent "Geotagging" feature proves useful to many Bloggers, there are times when nothing less than an actual map will do. And when you consider the interactivity offered by Google Maps (2d maps, sattelite views and even driving directions), the prospect of adding such a feature to our blogs becomes even more enticing!

Here, for example, is a map of Downing Street in London, England:


View Larger Map

Using this map, you can easily switch between the 2-dimensional map, a satellite view and even the terrain of the ares. You can move the map in any direction to see the surrounding area; zoom in and out for a closer/distant view, and incredibly you can link to driving directions too!

Such interactive elements can add a huge amount of interest to your posts, and can assist reader's interaction with your site, whether this be a deeper understanding of the locations you write about, or to help potential customers find out where your business is based.

There are two main methods you could use to add customizable Google Maps to your blog posts:
Neither of these options requires you to edit your Blogger template in order to add these maps to your posts (or even your sidebar, if you prefer this location). Whats more, these can be added simply by copying and pasting a section of code to your posts.

Let's go through each of these methods in turn and explain the circumstances in which these would be most useful.


Adding an Iframe generated by Google Maps

I personally find this to be the easiest and most reliable method of adding Google Maps to Blogger posts.

To begin, simply visit the Google Maps website and type in the location you wish to display:

For example, if I wanted to display a map of The White House, I would type: "The White House, Washington DC, United States". The search results would then be displayed in a screen like this (click on the image for a larger preview):

If nescessary, we can narrow down the location by clicking one of the links on the left in order to get a more accurate map.

Once we have the map we would like to embed in our Blogger post, we need to retrieve the code required to display it.

To do this, click on the "Link"icon at the top right of the map:

In the pop-up, click "Customize and preview embedded map". This enables us to tweak the dimensions of the map to ensure it fits well within our blog post.

If you are using a default Blogger template, I would advise you to use the "Small" option which will measure 300px in width. This ensures the map will not overlap the space you have available for your blog posts which could mess up the overall layout of your blog.

In cases where you use a widened posts column, you could choose a larger map size or even specify your own dimensions. As a guide, the medium map size is 425px wide while the large embed is 640px. Your selection will automatically generate a new preview which gives a good idea of how well this will fit into your Blogger template design.

Finally, copy all of the code in the third section of this page to your clipboard. We will paste this into our Blogger post shortly.


How to embed the iframe code in your Blogger posts

To add your iframe code to a post, simply crewate a new post and paste the iframe code where you would like your map to appear within the post.

There are no hard and fast rules about how to embed the iframe code in your posts, though I do have some suggestions based on my own experiences:
  • Using Blogger in Draft to write your posts makes the process easier! Just ensure the compose settings are set to "Interpret typed HTML", then you can use either the "Compose" or "Edit HTML" version depending on your personal preferences.
  • If you prefer to use the regular Blogger post editor, ensure you paste the iframe code when using the "Edit HTML" tab, not the rich text composer. Unless you paste the iframe code in the Edit HTML page, your maps will not display properly.
  • It can be easier to write your entire post, then paste the iframe code afterwards, where you would like your map to be displayed. This ensures you don't accidentally delete any of the code when editing, which would render your maps useless.
You should be able to preview how your post will appear after pasting the iframe code into your post, regardless of whether you use Blogger in Draft or the regular post editor, so be sure to check how everything looks before hitting the publish button!


When using Google's simple embedded maps may not be perfect for your needs

Using this simple embed code does not offer complete control over how your maps will appear. If you prefer to use a custom marker or more than one reference point on your maps, you would need a more advanced solution and extensive HTML code.

For a more customized option, I would advise you to check out KabaWeb's Google Maps creator which offers a simple interface for such advanced usage of Google Maps.


Using KabaWeb's Google Maps Creator

KabaWeb's Google Maps Creator allows greater control over how your maps and any information about the locations are displayed. Here for example is a map of 10 Downing Street in London with my choice of marker and a more personalized information bubble:











Using this version of an embedded Google Map is slightly more complicated that using the code generated by Google, though it is most useful to have greater control over the content of your maps.


Generating a Google Maps API key

In order to use the Google Maps Creator, you will need access to your own Google Maps API key, which you can generate from the API sign-up page.

To generate your key, you should accept the terms and conditions for use, then add your blog's URL where prompted. Your API key will be specific to your site, so you cannot use the same key elsewhere. This also means you cannot preview how the maps will appear within your posts (as the URL for preview pages will be different from that where your posts are published).

Once your API key has been generated, copy this long string of numbers and letters to Notepad or your favorite text editor. You will need to access this again soon.


Generating your maps

Once you have your API key saved, you can then generate your maps on the Google Maps Creator page.

Here you can set the following options depending on your requirements:

  • Your map's name
  • The location you wish to display. The preferred format for accuracy seems to be STREET-NAME, TOWN, COUNTRY.
  • Map height and width: the default setting for width is 700px, too wide for most Blogger post sections. Be sure to reduce this to accomodate the settings for your own template
  • Zoom size: unless you prefer to display a town or country view, you can leave the default setting of 14px
  • Map Control: This chooses whether to display controls to the left of the map which visitors can use to zoom in and out
  • Show map types bar: This chooses whether to display the switch to toggle between map, satellite and hybrid views.
  • Show overview inset: This chooses whether to display the inset in the bottom right of the map, which offers a quick overview.
  • Info Text: This is the text displayed in the balloon overlay. You can use plain text or HTML code to style how your informative text will appear.
Once you have changed the settings for your preferences, click the "Generate this map" button, which will update the map preview beneath to show how your embedded map will appear.


Embedding the map in your Blogger post

Once you have generated the map you wish to display, you can use the code provided to paste into your Blogger post (or an HTML/JavaScript widget in your sidebar).

To find the correct code, scroll right down the page until you see the section marked "Portable Code". This is the section of code which is best to use with Blogger powered blogs.

Copy the entire section of code in this box to your clipboard, then switch over to your Blogger post editor.

Be sure you have completely written your blog post before pasting the code for your map, especially if you are using the regular post editor (not Blogger in Draft). When attempting to use this version of an embedded Google Map, I have encountered errors when attempting to edit the post after embedding the code.

If you are using the regular post editor, switch to the Edit HTML tab and paste your code where you would like your map to appear. Then replace "YOURKEY" in the third line with the API key you obtained from the Google Maps developer pages. Then finally, publish your post.

Be sure not to switch back to the "Compose" tab after pasting the code for your map! If you do, the code will become corrupted and your maps will not display properly in the page.

When using Blogger in Draft to compose your posts, it is not necessary to switch to the "Edit HTML" tab. However, it is still advisable to paste the code only after you have finished writing your post, and do not switch between the different post editors.

Once you have published your post, you can take a look at your new maps in your blog posts!


Final thoughts

While Blogger's new Geotagging feature offers an interesting way to add locations to our posts, it is often the case where nothing less than a map will suffice in the understanding of our post content! Using the methods described above, you can easily add interesting and interactive Google Maps to your Blogger posts, ensuring your readers have a deeper understanding of the locations mentioned in your posts.

If you know of other simple methods to add maps to Blogger posts, please feel free to let us know by leaving your comments below.

September 18, 2009

Profile Avatars for Blogger Comments - Updated

Displaying avatars beside comments in our blogs has been a long anticipated feature. Today, the Blogger Team announced that this feature is now enabled for Blogger blogs, allowing us to see the profile image or avatar of those leaving comments on our posts:
Today we have extended embedded comments to display profile images next to the comments that your visitors write. Though profile images have been available with the other commenting options, we are happy to bring them to embedded comments as part of the Blogger Birthday feature series (via Blogger Buzz)
However, this feature currently seems available only to those using Blogger's default templates.

Update:  Soufiane of LeBlogger.com has kindly emailed me with a quick and simple solution for us to add the required code to customized Blogger templates! Details below.

November 06, 2008

Issues with the embedded comment form?

Yesterday a few readers emailed me to explain that there were issues with Blogger's embedded comment form.

The issue was that the "Comment as" drop down menu was empty, preventing readers from choosing an identity for their comments which in turn prevented comments from being left.

As yet, the Blogger team have not acknowledged this issue on the Known Issues (or any other blog), and as far as we can tell, the problem should now be resolved. It could have been a browser-related issue, or perhaps Blogger was making some improvements to the embedded comment form which caused this temporary glitch?

Software Testing Zone wrote about this issue in detail, and has since updated this post to explain that this issue appears to have been resolved. I personally did not experience any problems with the embedded comment form for any of the Blogger blogs I viewed over the past few days, but I am interested to learn more about this issue in case something similar happens in the future.

For anyone still experiencing this problem when reading Blogger powered blogs, try refreshing your browser (press F5 for most browsers, which completely refreshed the page), or clear cookies and temporary internet files to ensure you have a fresh version of the page.

If you were affected by issues with the embedded comment form, please do leave a comment below with some information, such as the browser you were using (Firefox, IE6/7, Safari), whether the blog was using a custom domain or a customized template, etc.

Thank you all for keeping me informed about any Blogger issues you are experiencing! Even though I am not officially affiliated to Blogger, I will do my best to help the Blogger community in any way I can.

June 24, 2012

Even more fonts for Blogger with Google Web Fonts

Using the Blogger Template Designer, we can spruce up our blogs using any of the many custom fonts available. This selection is powered by Google Web Fonts, and offers a wide variety of styles for almost any type of blog.

However, if none of these fonts are suitable for your design, take a look at the huge selection (currently over 500) of freely available web fonts available from Google.

We can use any of these fonts in our Blogger templates by adding just a few lines of code. Here's how to use any Google Web Font in your Blogger template design in just a few simple steps.

May 02, 2008

"A New Day" Blogger XML Template Download

Here's a new Blogger XML template download for you: "A New Day".

Take a look at the demonstration blog for this new template to see it in action.

This is a pale, two column template with a wide posts area and sidebar (which should be wide enough to accommodate most wider styles of widgets, Adsense and possibly video too!).

You can download both the XML file and the HTML code for this template. Full instructions and download links are provided below.

Features of this template

A New Day is a wide two column template, providing ample room for posts and also provision for wider sidebar widgets.

The header section features an integrated "navigation" links list widget, so you can easily add and edit links to the main pages of your blog.

Other useful features include:

  • Rounded corners for the sidebar widget headings
  • Fonts and colors can be changed within the "Fonts and Colors" section in your Blogger dashboard.
  • Author comment highlighting (with a different color heading for author's comments)
  • Automatic "copyright" (according to blog title) in the lower footer section.
  • Comment count below post titles
  • Unique header image which spans the entire width of the page.

Using This Template

I have tried to ensure this template is as user-friendly as possible! A New Day should work "right out of the box" once this is uploaded to your blog.

The only thing you may need to configure is the "Link List" widget in the header section, which you can access in the Layout>Page Elements section of your dashboard. In this widget, you can add links to the important pages of your blog (such as your "About" and "Contact" pages. Or if you prefer not to feature such links, you can simply delete this altogether!

Fixed elements of this template

The main background, and the background images for the main area of the blog are embedded in the template code. As such, the colors of these areas cannot be changed, unless you are willing to alter these images and upload these to your own image host.

However, I do plan to bring out a darker version of this template in the near future for those of you who would prefer a darker color scheme for your blogs ;)

Other than this, all other elements of this template may be changed, including all fonts, font colors and the border colors (which will also alter the color of the sidebar widget borders).

You can change these elements dynamically from within the Fonts and Colors section of your Blogger dashboard.

Download Options for this template

There are two options for downloading this template: the XML template (which should be uploaded to your Blogger dashboard) and the HTML Code (a text based file which you should copy and paste).

Here are links to each download version, along with full instructions for your to upload this to your blog.

XML Template Download

The following is the XML version of the "A New Day" Blogger template. To download this template, right click and choose "Save As".

Download XML File

Save this XML file to a convenient location on your computer.

Then go to Layout>Edit HTML in your Blogger dashboard. Near the top of this page, you will see a section which appears like this:

Use the "Browse" button to locate the XML template on your computer, then click on the "Upload" button to upload the "A New Day" template to your blog.

Once you have uploaded this template, you can then begin to add widgets, change the layout and tweak this template to your needs.

Read more about uploading Blogger XML templates.

HTML Code Template Download

For those who prefer to copy and paste template code for their Blogger blogs, I have also provided the full HTML code for this template as a text file.

You can view or download this file using the link below:

Download HTML Code

You may either view this code by following the link in your browser, or download this text file to your computer.

To upload this template using the HTML template code, simply highlight all of the text and copy this to your clipboard. Then go to Layout>Edit HTML in your Blogger dashboard. Highlight all of the code in the box, then paste the new code instead of the existing code.

Finally, preview your Blogger template to ensure everything looks well. If you have done this correctly, you should receive no errors and can proceed to save your new template.

Read more about uploading templates using the HTML template code.

Usage and Copyright Notice

All images featured in this template are hosted by Blogger Buster; you do not need to host these yourself (unless you would prefer to do so!).

This template is provided under a Creative Commons Attribution Licence.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

This means that you may use, redistribute and modify this template in any way you like, so long as you provide correct attribution to the original author of this template in the form of a link back to Blogger Buster.

I hope that you enjoy this new template as much as I enjoyed creating it! Originally I had planned on using this for a new blog I've been working on, though as I was rather happy with the end result I didn't want to keep this to myself :)

Please do let me know your opinions or any questions about this template by leaving your comments below.

January 27, 2008

Weekly Review #4

Despite blogging less than usual these past few weeks, I assure you I have been very busy! I've found some great sites to tell you all about, and most importantly the eBook is ready for release and will be publicly available on Tuesday!

So without further delay, here's the fourth weekly review for 2008, with news from Blogger Buster, the bloggosphere and interesting links I've discovered this week.

Blogger Buster news

The Cheats' Guide eBook

Sorry guys, I know this has been a long wait. Thankfully the eBook is now complete, with even more added features and also an accompanying folder with new templates and images used as examples in the eBook.

Members of the Blogger Buster MyBlogLog community will be able to have a sneak preview of the Cheats' Guide eBook (for evaluation and feedback) before the public release later this week. So if you'd like to get your hands on the eBook before anyone else, join our community or send me an email and I'll forward on the link.

More from the Blogger Template Design series

For those following the progress of the Blogger Template Design series, we've now taken the template a step further by adding margins and padding tp the template in construction. In the next few installments, we'll tidy up other elements of the template and begin working on one of the most important aspects of any blog template: an enticing and interesting header.

Some small changes to the Blogger Buster site

I'm planning to make some changes to the layout and functionality of this site over the next week or so. These will not be so drastic as last year's complete redesign, but rather a shuffle of the navigation links and sidebar content which I hope will make this blog easier to use and navigate, as well as highlighting the more popular sections of the site.

Blogging news

Bloggies Finalists

The finalists for the 2008 Bloggies have been announced, and we are now able to vote for our favorites in each category.

There are many familiar faces in the list, including Dooce, PostSecret and Lifehacker, plus some new faces in the list. You can also vote for Blogger as the best application for Bloggers if you choose (though Twitter and Flickr look set for many votes too!).

This week's links

I've begun to get into the habit of bookmarking useful links as I find them, so this week I have quite a selection of sites to share, including some which were emailed to be by readers.

I hope you find these useful, and please do send me your own suggestions which I will post here next week.

  • Ximmy: get paid to bookmark your favorite sites

    This new social bookmarking site offers rewards to those most active in the community by rewarding members with credits which can be exchanged for cash. Thanks to Clyde for recommending this.
  • Entrecard

    I'll soon post a full article about this excellent free service as I am very impressed with how well this is working for me. Basically, this allows you to earn and spend credits through advertising your blog, and allowing others to advertise on your site. You can see my own Entrecard widget in the sidebar.

    Already I've noticed an increase in the number of visitors to my site, and I'm really enjoying finding new blogs to read in the process. Check it out for yourself and let me know what you think about Entrecard by leaving your comments below.
  • Tiny URLs: make your long links tiny!

    If you're in the habit of posting long URLs in your blogs or publications, do try TinyURL.com, which can transform your long links into tiny URLS. I've used this extensively in the forthcoming eBook (as my PDF software doesn't support embedded URLs), and have found this free service to be extremely helpful.
  • LetterMeLater: send scheduled emails

    This free service would be ideal for anyone who wants to schedule their blog posts to a later date.
  • Social networking in plain English

    This video post explains how social networking works in a way which is easy for anyone to understand.
  • Larabie Fonts: free fonts for your blog designs

    I found this site while searching for some great free fonts to use in blog designs. There are loads of really great fonts to use here, including Coolvetica (a free variant of Helvetica) which you may recognize from the Blogger Buster logo.
  • Iconspedia: free icon packs

    Here's another great site for those looking for free icons for their blog designs, featuring a wide range of high quality icons for free download. I'll be using some of these in later installments of the Blogger Template Design series, so be sure to check this site out if you need to find great icons for your own blogs.

If you've enjoyed this post, please consider subscribing to the Blogger Buster feed.

As always, your comments and suggestions are always welcome.

November 15, 2010

Add a Lightbox-Style Contact Form to your Blog

While researching customization methods for my forthcoming eBook, I was really impressed at how easy it is to add a Lightbox-style contact form to our sites using ThickBox:


Using Thickbox to display a contact form in this way enables your readers to email you without having to leave the page. We can add this functionality in a simple HTML gadget, and there is no need to edit the HTML of our template at all.

In this post, I'll explain how easy it is to add a lightbox-style contact form to your Blogger blog using Thickbox and a free Kontactr account.

February 05, 2008

My new contact form

My previous contact form was causing some awful problems, so after looking around for a better alternative, I discovered Kontactr: a new free contact form service which is easily embedded into a Blogger post page. You can see my new contact form in action on my contact page.

I've just been testing my new contact form and it works like a dream! You can create line breaks now without worrying that your message will be sent prematurely, and the message will arrive to me as fast as if it were sent by regular mail.

Kontactr is free to use, and there are several customization options to choose from:

  • An HTML based form (which takes the visitor away from your blog when the form is submitted).
  • An Ajax based form, where visitors stay on the same page after the form is submitted (this is the option I chose)
  • A button or text link which creates a great looking overlay with the contact form on the same screen.

One thing I love about Kontactr is that you can reply to the person who sent the contact form without having to extract their email address from the message; it's as though the email was sent directly from their email account. Furthermore, there don't seem to be any restrictions of how many contact forms can be processed, nor any plans for a premium service.

So far, it seems this service is going to be of great use to me, and I would strongly recommend this if you're looking for a spam-free alternative to enabling your blog visitors to get in touch with you.

If you want to sign up and give Kontactr a try, you can create your free account and begin using this straight away. Please do let me know what you think about this service by leaving your comments below.

Advertise on Blogger Buster

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

© Blogger Buster 2010 Home | About | Contact | Hire Me | Privacy Policy