質問 > フロント機能 > サブ画像のパスが知りたい |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
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 |
![]() |
tsuji | 2015/3/23 15:41 |
![]() |
yumesan | 2015/3/24 11:11 |
![]() |
tsuji | 2015/3/24 11:45 |
![]() |
yumesan | 2015/3/25 14:25 |
![]() |
tsuji | 2015/3/26 14:48 |
» ![]() |
yumesan | 2015/3/26 17:44 |
![]() |
reaps | 2015/3/26 17:58 |
![]() |
yumesan | 2015/3/26 22:44 |
![]() |
reaps | 2015/3/27 10:16 |
![](images/pixel.gif)