Skip to main content

Link to HTML widget title - How?

This article lets you know how to add link to the widget title of HTML/Javascript gadget. The article is split into two,

  1. Creating a HTML gadget.
  2. Adding link to HTML gadget.
How to create a HTML gadget?
  1. Go to Dashboard > Layouts
  2. Click on + Add a gadget
  3. In the appearing window, scroll down and add HTML/JavaScript gadget.
  4. Title it as newgadget, for easy identification.

How to add link to this title?
  1. Go to Dashboard > Template > Edit HTML.
  2. Click on the template code box, press Ctrl + F and find newgadget
  3. The code around it will look like,
    <b:widget id='HTML6' locked='false' title='newgadget' type='HTML'>
    <b:includable id='main'>
    <!-- only display title if it's non-empty -->
    <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
    </b:if>
    <div class='widget-content'>
    <data:content/>
    </div>
    <b:include name='quickedit'/>
    </b:includable>
    </b:widget>
  4. Find <h2 class='title'><data:title/></h2>
  5. Here, wrap <data:title/> with anchor tags like this.
    <h2 class="title"><a href="link"><data:title/></a></h2>
  6. Save Template.

Comments

Feeds for you

Blogger profile confusions

Since Google has closed it's social networking service called the Google+ for consumers, few products has some effect on it. One of them is our very own blogger.

We could see that update notification in our blogger dashboard as below,



Besides from the things gone as mentioned in Blogger's official blog post here -> An update on Google+ and Blogger, we have a confusion on profile that needs to be clarified. That is the reason why I am writing this down.

There are now two profiles,

Blogger profileGoogle profileBlogger profile - Where does this appear?
This appears in all of your blogs if you have your profile gadget added. You can see that on this blog in the top right, How do I update this profile? Go to blogger.comNavigate to Settings > User settingsClick Edit under Blogger in User profile sectionYou'll be navigated to https://www.blogger.com/edit-profile.g where you can edit your profile that appears on the blog.Google profile - Where does this appear?
This appears in…

Common issues where custom domain is involved.

In BHF, one of the common issues we face is setting up custom domain. We already have a lot of information on how to setup a custom domain. So I am going to go ahead and write on the troubleshooting tips for custom domain.

This article is dedicated to +Chuck Croll  who has been/is a great mentor to me  since the beginning.

So let's start with the first and foremost golden rule of Custom domain troubleshooting.
Any issue where you have custom domains involved, first check if the custom domain is setup properly.

DWI - Not all the time "Authoritative" helps

We already saw the common issues when custom domain is involved where we saw a tool called DWI - Dig Web Interface which will help us get DNS records of a particular domain.

Today while coming across a forum thread, got to notice a strange thing ever. It's not the first time however. If you refer the article about corrupted DNS, the blog URL used had similar issue.

It is normally recommended to use "Authoritative" under Name servers when digging a domain. However this doesn't always workout.