質問 > 管理機能 > tplを編集すると画像が反映されません |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
mi-taro |
投稿日時: 2009/7/16 20:11
対応状況: −−−
|
一人前 登録日: 2009/4/21 居住地: 投稿: 118 |
Re: tplを編集すると画像が反映されません >seasoft様
レンスポンスありがとうございます! 例えば、 data/smarty/templates/以下のcart.tplの変更をあげてみます。 デフォルトのcart.tpl: data/smarty/templates/default/cart.tpl *************************************************************************** <h2> <img src="<!--{$TPL_DIR}-->;img/side/title_cartin.jpeg width="166" height="35" alt="カゴの中身"> </h2> <p>商品数:<!--arrCartlList.0.TotalQuantitylnumber_formatldefault:0-->点</p> *************************************************************************** 新しいフォルダのcart.tplの修正部分 1:画像の入れ替え 2:画像のサイズを修正。 3:文字の修正「点」から「個」へ data/smarty/templates/新しいテンプレート/cart.tpl *************************************************************************** <h2> <img src="<!--{$TPL_DIR}-->;img/side/NEWtitle_cartin.jpeg width="150" height="20" alt="カゴの中身"> </h2> <p>商品数:<!--arrCartlList.0.TotalQuantitylnumber_formatldefault:0-->個</p> *************************************************************************** 修正部分を保存して、表示してみると.... 画像部分は「?」マーク サイズは、デフォルトのまま。 文字の部分は、「個」というように新しくなります。 パスが通ってないわけではないということなんですが、どうして画像が表示されないのでしょう。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
tplを編集すると画像が反映されません | mi-taro | 2009/7/16 18:15 |
Re: tplを編集すると画像が反映されません | seasoft | 2009/7/16 19:35 |
» Re: tplを編集すると画像が反映されません | mi-taro | 2009/7/16 20:11 |
Re: tplを編集すると画像が反映されません | miningbrow | 2009/7/16 23:20 |
Re: tplを編集すると画像が反映されません | flealog | 2009/7/16 23:37 |
Re: tplを編集すると画像が反映されません | ramrun | 2009/7/17 0:43 |
Re: tplを編集すると画像が反映されません | mi-taro | 2009/7/17 1:19 |
Re: tplを編集すると画像が反映されません | seasoft | 2009/7/17 5:50 |
Re: tplを編集すると画像が反映されません(解決) | mi-taro | 2009/7/17 11:36 |