バージョン選択

フォーラム

メニュー

オンライン状況

120 人のユーザが現在オンラインです。 (110 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 120
もっと...

サイト内検索

質問 > フロント機能 > サブ画像のパスが知りたい

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
yumesan
投稿日時: 2015/3/26 17:44
対応状況: −−−
半人前
登録日: 2015/3/7
居住地:
投稿: 13
Re: サブ画像のパスが知りたい
tsuji様

お返事ありがとうございます!
現在なんとか表示させようと
<a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->');" onmouseout="chgImg('<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->');">
<img class="itiran" src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->"alt="<!--{$arrProduct.name|h}-->" class="picture"/>
</a>
このような記述になりました。
が、onmouseの"chgImg('')の中身を変えても変化がありません。
この商品一覧ページには元々のメイン画像が表示されています。
そもそものタグが間違っているのでしょうか。
いろいろ調べてこのタグにたどり着いたのですが・・・。


<form name="product_form<!--{$id|h}-->" action="?" onsubmit="return false;">
<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
<input type="hidden" name="product_id" value="<!--{$id|h}-->" />
<input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" />
<div class="list_area clearfix">
<a name="product<!--{$id|h}-->"></a>
<div class="listphoto">
<!--★画像★-->
<a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/banner/eccube-top-image_on.jpg','eccube-top-image');" onmouseout="chgImg('<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->');">
<img class="itiran" src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->"alt="<!--{$arrProduct.name|h}-->" class="picture"/>
</a>

</div>


現在商品一覧ページの
<!--▼商品-->
以下がこちらの記述です。


そして

Warning(E_WARNING): register_shutdown_function() [<a href='function.register-shutdown-function'>function.register-shutdown-function</a>]: Invalid shutdown callback 'LC_Page_FrontParts_Bloc_CheckedItems::destroy' passed on [/home/users/2/***/web/***/frontparts/bloc/plg_checkeditems.php(32)] from 218.221.104.240
customer_id =
/home/users/2/***/web/***/index.php(28): LC_Page_Index_Ex->process
/home/users/2/***/web/***/data/class_extends/page_extends/LC_Page_Index_Ex.php(54): LC_Page_Index->process
/home/users/2/***/web/***/data/class/pages/LC_Page_Index.php(54): LC_Page->sendResponse
/home/users/2/***/web/***/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/2/***/web/***/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/2/***/web/***/data/class/SC_View.php(101): Smarty->fetch
/home/users/2/***/web/***/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/2/***/web/***/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(104): Smarty->_smarty_include
/home/users/2/***/web/***/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/2/***/web/***/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(45): smarty_core_smarty_include_php
/home/users/2/***/web/***/data/module/Smarty/libs/internals/core.smarty_include_php.php(40): Smarty->_include
/home/users/2/***/web/***/data/module/Smarty/libs/Smarty.class.php(1924): include
/home/users/2/***/web/***/frontparts/bloc/plg_checkeditems.php(32): register_shutdown_function

がエラーログに出ています。
初心者なものでかなり混乱しています。
お力を貸して頂ければ幸いです。
宜しくお願い致します。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   サブ画像のパスが知りたい yumesan 2015/3/20 10:37
     Re: サブ画像のパスが知りたい tsuji 2015/3/23 15:41
       Re: サブ画像のパスが知りたい yumesan 2015/3/24 11:11
         Re: サブ画像のパスが知りたい tsuji 2015/3/24 11:45
           Re: サブ画像のパスが知りたい yumesan 2015/3/25 14:25
             Re: サブ画像のパスが知りたい tsuji 2015/3/26 14:48
             » Re: サブ画像のパスが知りたい yumesan 2015/3/26 17:44
                 Re: サブ画像のパスが知りたい reaps 2015/3/26 17:58
                   Re: サブ画像のパスが知りたい yumesan 2015/3/26 22:44
                     Re: サブ画像のパスが知りたい reaps 2015/3/27 10:16

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は90,030名です
総投稿数は110,282件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1677
8
red
1570
9
mcontact
1343
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.