Hello, world!

2008-12-20

Quick edit icon is gone!

bloggerログイン中にブログ上に表示されるQuick edit iconがしばらく表示されていなかったが、きっと自分で消しちゃったんだろうと放置していた。
ついに、重い腰を上げて直そうとしたら、リンクの文字列は生成されるけどアイコンがなくクリックできない状態だった。。。

どうも仕様が変わったっぽい

しょうがないので、

<b:includable id='postQuickEdit' var='post'>
  <b:if cond='data:post.editUrl'>
    <span expr:class='"item-control " + data:post.adminClass'>
      <a expr:href='data:post.editUrl' title='Edit Post'>
       <span class='quick-edit-icon'> 
      </a>
    </span>
  </b:if>
</b:includable>
から
<b:includable id='postQuickEdit' var='post'>
  <b:if cond='data:post.editUrl'>
    <span expr:class='"item-control " + data:post.adminClass'>
      <a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
        <img alt='' class='icon-action' height='18' src='http://www.blogger.com/img/icon18_edit_allbkg.gif' width='18'/>     
      </a>
    </span>
  </b:if>
</b:includable>

に変更してみた

What are Quick Edit links?を見ると、
If you're using a classic template, you must have the <$BlogMetaData$> tag in your template's <head> section, and the <$BlogItemControl$> tag wherever you want the Quick Edit links to appear. We suggest somewhere in your "posted by" line...
って書いてあるけど、自分のが古いスタイルなのか調べるのがなぁ。。
とりあえずできたから良しとしよう。