バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

プラグイン > バグ報告・利用に関する質問 > Impossible to access an attribute ("name01") on a string variable ("anon.").について

バグ報告・利用に関する質問

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
shige0309
投稿日時: 2019/3/24 1:40
対応状況: −−−
半人前
登録日: 2018/2/27
居住地:
投稿: 28
Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について
umebius様

ご返信ありがとうございます!

新着情報画像 for EC-CUBE3ですが、

{% if NewsImages[News.id] %}
<img src='{{ app.config.image_save_urlpath }}/{{ NewsImages[News.id] }}' />
{% endif %}

「新着情報ブロック編集ページの「{% for News in NewsList %}{% endfor %}」内に上記タグを追加して下さい。」とのことです。

とりあえず確認した所、新着情報ブロックに埋め込んでありました。

「新着情報ブロック」
<li class="col-xl-4 col-lg-4 col-md-4 mt-3 col-sm-4 col-6">
{% if News.url %}
<a href="{{ News.url }}" {% if News.link_method=='1' %}target="_blank" {% endif %}>{% endif %}
{% if NewsImages[News.id] %}
<img src="{{ app.config.image_save_urlpath }}/{{ NewsImages[News.id] }}"/>
{% else %}
<img src="{{ app.config.front_urlpath }}/img/common/no_image.gif" alt="NO IMAGE"/>
{% endif %}
<br>
<p class="topics-cat_time mt-2"><time datetime="{{ News.date|date('Y/m/d') }}">{{ News.date|date('Y/m/d') }}</time></p>
<p class="font-weight-bold mt-2">{{ News.title }}</p>
{% if News.comment or News.url %}
<span class="mt-2 mb-5 d-inline-block">{{ News.comment|raw|nl2br }}</span>
{% endif %}
{% if News.url %}</a>{% endif %}
</li>

申し訳ございませんが、ご教示頂けますと幸いです。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/23 23:30
     Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について umebius 2019/3/23 23:32
       Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/23 23:52
         Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について umebius 2019/3/23 23:55
           Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/23 23:59
             Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について umebius 2019/3/24 0:16
               Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/24 0:59
               Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/24 1:17
                 Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について umebius 2019/3/24 1:23
                 » Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/24 1:40
                     Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について umebius 2019/3/24 1:44
                       Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について shige0309 2019/3/24 3:42
                         Re: Impossible to access an attribute ("name01") on a string variable ("anon.").について umebius 2019/3/25 7:15

 



ログイン


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

統計情報

総メンバー数は89,158名です
総投稿数は110,046件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1650
8
red
1570
9
mcontact
1299
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.