バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > その他 > default_frame.twigの編集

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
umebius
投稿日時: 2019/4/24 16:35
対応状況: −−−
登録日: 2016/7/22
居住地:
投稿: 2085
Re: default_frame.twigの編集
おそらく下のようになるのが完成系ではないでしょうか?


<title>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }} / {% elseif title is defined and title is not empty %}{{ title }} / {% endif %}{{ BaseInfo.shop_name }}</title>
{% if PageLayout.author is not empty %}
<meta name="author" content="{{ PageLayout.author }}">
{% endif %}
{% if PageLayout.url == "product_detail" %}
   <meta name="description" content="{{ include(template_from_string(Product.freearea)) }}">
{% else %}
   <meta name="description" content="{{ PageLayout.description }}">
{% endif %}
{% if PageLayout.keyword is not empty %}
<meta name="keywords" content="{{ PageLayout.keyword }}">
{% endif %}
{% if PageLayout.meta_robots is not empty %}
<meta name="robots" content="{{ PageLayout.meta_robots }}">
{% endif %}


・template_form_stringはtemplate_from_stringに直す
・productは大文字のProductに直す
・elseifをifに直す
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   default_frame.twigの編集 ax1701 2019/4/16 13:49
     Re: default_frame.twigの編集 468 2019/4/18 10:36
       Re: default_frame.twigの編集 ax1701 2019/4/22 20:11
         Re: default_frame.twigの編集 ax1701 2019/4/24 13:37
           Re: default_frame.twigの編集 umebius 2019/4/24 14:25
             Re: default_frame.twigの編集 ax1701 2019/4/24 15:22
             Re: default_frame.twigの編集 ax1701 2019/4/24 15:45
               Re: default_frame.twigの編集 umebius 2019/4/24 15:48
                 Re: default_frame.twigの編集 ax1701 2019/4/24 15:50
                   Re: default_frame.twigの編集 umebius 2019/4/24 15:51
                     Re: default_frame.twigの編集 ax1701 2019/4/24 15:55
                       Re: default_frame.twigの編集 umebius 2019/4/24 15:56
                         Re: default_frame.twigの編集 ax1701 2019/4/24 15:58
                           Re: default_frame.twigの編集 umebius 2019/4/24 16:02
                             Re: default_frame.twigの編集 ax1701 2019/4/24 16:14
                               Re: default_frame.twigの編集 umebius 2019/4/24 16:28
                             » Re: default_frame.twigの編集 umebius 2019/4/24 16:35
                                 Re: default_frame.twigの編集 ax1701 2019/4/24 16:51
                                   Re: default_frame.twigの編集 umebius 2019/4/24 18:31
                                 Re: default_frame.twigの編集 ax1701 2019/4/24 18:34
                                   Re: default_frame.twigの編集 umebius 2019/4/24 19:53
                                     Re: default_frame.twigの編集 ax1701 2019/4/25 11:01

 



ログイン


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

統計情報

総メンバー数は88,299名です
総投稿数は109,692件です

投稿数ランキング

1
seasoft
7365
2
468
3217
3
AMUAMU
2712
4
nanasess
2303
5
umebius
2085
6
yuh
1818
7
h_tanaka
1610
8
red
1568
9
mcontact
1240
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
796
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.