細かな記録はここに置いておきます。
Tag: メモ
<<
2012.2
>>
[サイト更新記録]
|
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
1
|
2
|
3
|
|
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
|
26
|
27
|
28
|
29
|
|
|
|
ユーザ情報でのgravatarを活用する方法
<{if $thisUser->get('user_avatar') != "blank.gif" }>
<img src="http://www.gravatar.com/avatar/<{$thisUser->getShow('email')|md5}>?d=<{$smarty.const.XOOPS_UPLOAD_URL|urlencode}>%2F<{$thisUser->getShow('user_avatar')|urlencode}>" alt="Avatar" title="Avatar" />
<{else}>
<img src="http://www.gravatar.com/avatar/<{$thisUser->getShow('email')|md5}>?d=<{$smarty.const.XOOPS_URL|urlencode}>%2Fmodules%2Fuser%2Fimages%2Fno_avatar.gif" alt="Avatar" title="Avatar" />
<{/if}>
- Google Adsense の横幅があふれてしまう。
- そもそもHypCommonで、無効にしているカスタムブロックなのに表示してしまうのはなぜ?
d3pipesのテンプレートの変更
d3pipes_block_sync.html の日時表示形式が気に入らないので変更。
変更前
1
2
3
4
5
6
7
8
9
10
11
|
| <li>
<{$smarty.const._MEDIUMDATESTRING|date:$entry.pubtime+$timezone_offset}>
<{if $entry.clipping_id && $block.link2clipping}>
<a href="<{$block.mod_url}>/index.php?page=clipping&clipping_id=<{$entry.clipping_id}>"><{$entry_headline4disp}></a>
<{else}>
<a href="<{$entry.link|escape}>"><{$entry_headline4disp}></a>
<{/if}>
<{if $entry.pipe.name}>
(<{$entry.pipe.name}>)
<{/if}>
</li>
|
変更後
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
| <li>
<{* <{$smarty.const._MEDIUMDATESTRING|date:$entry.pubtime+$timezone_offset}> *}>
<{if $entry.clipping_id && $block.link2clipping}>
<a href="<{$block.mod_url}>/index.php?page=clipping&clipping_id=<{$entry.clipping_id}>"><{$entry_headline4disp}></a>
<{else}>
<a href="<{$entry.link|escape}>"><{$entry_headline4disp}></a>
<{/if}>
<span style="font-style: italic;">
<{if $entry.pipe.name}>
<{* (<{$entry.pipe.name}>) *}>
by <{$entry.pipe.name}>
<{/if}>
at <{"Y/m/d H:i "|date:$entry.pubtime+$timezone_offset}>
</span>
</li>
|
Counter: 2425,
today: 2,
yesterday: 0
Princeps date: 2007-04-22 (Sun) 04:09:49
Last-modified: 2012-01-03 (Tue) 11:14:03 (JST) (34d) by gokuraku
新しくコメントをつける
コメント一覧