PEAK XOOPS - Re: smartsectionでtell a friendを使いたい。 in englishin japanese

Re: smartsectionでtell a friendを使いたい。

List posts in the topic

question Re: smartsectionでtell a friendを使いたい。

msg# 1.1.1.1.1.1.1.1
depth:
7
Previous post - Next post | Parent - Children.1 | Posted on 2006/7/15 9:23
choromo  二等兵   Posts: 5
おはようございます。

テンプレート「smartsection_item.html」の変数「$itme.adminlink」には

・記事の編集
・記事を複製
・記事を削除
・この記事をPDFフォーマットで見る
・記事を印刷する
・記事をメールで送信
・ファイルを添付

以上7つがアイコン付きでアサインされています。

ですが,「$mail_link」もきていますので,標準的な書き方でOKです。

注意すべき点は,リンク用メールアイコンを「friend.gif」にすると,アイコンが二つ表示されてしまいます。それを回避する目的で,

「./modules/smartsection/links/friend.gif」を「tellafriend.gif」に改名。
1×1pxのgifファイルをfriend.gif名でアップロード。

<a href="<{$mail_link|xoops_tellafriend}>">
<img src='images/links/tellafriend.gif' alt='記事をメールで送信' />
</a>

これでいいと思います。
Votes:14 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!